Jump to content
ptodd

Stroke mitre join misbehaving

Recommended Posts

In the attached document, I find that the corners can't decide whether or not to appear square; adjusting stroke width causes flickering between the two states.  Also there are discrepancies sometimes between what appears in the main canvas, the layer thumbnails, and export.

If I adjust the mitre limit from the default 1.41 (even manually setting to 1.41), then the bug disappears (presumably the default is actually sqrt(2) and there's some floating point related issue at play).  I couldn't reproduce the behaviour in a fresh document.

dockIcon.afdesign

Share this post


Link to post
Share on other sites

Hi @GabrielM,

I'm attaching a version with the edit history so you can maybe glean a bit more from that.  A certain amount of fudging to get to that point as you can see... 

The object was created with the rectangle tool, initially with a default rounded join and it was only after I set that differently that the glitch appeared.  Indeed, applying a different join option and then setting it back causes the glitch to return, although setting mitre limit does seem to reliably stop it.

Cheers,

Peter

dockIconHistory.afdesign

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×

Important Information

These are the Terms of Use you will be asked to agree to if you join the forum. | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.