summaryrefslogtreecommitdiff
path: root/fitz
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2012-04-18 16:24:57 +0100
committerRobin Watts <robin.watts@artifex.com>2012-04-19 00:37:47 +0100
commit7aa46e79f2f4994ec94aa94d4a1129e10b6cbd4d (patch)
treecffeb572b7c1e06ba44087bbd9ee8e56ca178152 /fitz
parentab29b6831c384048c1011e72dc2a061ac4e66927 (diff)
downloadmupdf-7aa46e79f2f4994ec94aa94d4a1129e10b6cbd4d.tar.xz
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.
Diffstat (limited to 'fitz')
0 files changed, 0 insertions, 0 deletions