Created attachment 8532 [details] example file with thick and thin lines Some lines with bevel join and butt cap have a non painted parts, when the thickness is more then the length of segments. See pdf with the mupdf version 1.0rc1.
Created attachment 8533 [details] The result of mudraw with the first file Thin line has the some points but small thickness
This is the mupdf equivalent of bug 688655. Testing a fix now.
(In reply to comment #2) > This is the mupdf equivalent of bug 688655. Testing a fix now. i think it explain "rough" joins but not the unpainted centerline.
Fixed in: commit 7aa46e79f2f4994ec94aa94d4a1129e10b6cbd4d Author: Robin Watts <robin.watts@artifex.com> Date: Wed Apr 18 16:24:57 2012 +0100 Bug 692990: Fix 'underjoin' of strokes. See Bug 688655 for analysis of what we SHOULD be doing. The code changes to do this are actually quite small. Essentially, when we join we only draw the 'top' (or 'outer') join in a join dependent way. The 'under' join was always joined as a bevel before as this was easy. This produces bad effects when the lines have a significant angle between them and a large linewidth. The correct (i.e. matching Acrobat and others) way to work is to join the bottom of the line via the centre point. The sole exception to this is when drawing under beziers, as we don't want to make our approximation-by-lines obvious. All fixed in this patch. Thanks for the report.
(In reply to comment #4) > Fixed in: > > > commit 7aa46e79f2f4994ec94aa94d4a1129e10b6cbd4d > All fixed in this patch. > > Thanks for the report. how to obtain the patch? The link shows "404 - Unknown commit object"
It works! Thanks!