summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qpdfwriter.h
diff options
context:
space:
mode:
authorEirik Aavitsland <eirik.aavitsland@qt.io>2021-09-23 16:40:27 +0200
committerEirik Aavitsland <eirik.aavitsland@qt.io>2021-09-29 22:07:43 +0200
commit6d41b64d45cda12370653300fdc2d2685c450014 (patch)
tree7e7a1da28967554af944136a629359c368867cba /src/gui/painting/qpdfwriter.h
parent2cb42cd849b60e72e2de44ed469c2b743b154b06 (diff)
Avoid generating large pdf files when using dashed cosmetic pens
There was a bug in the pdf writer for cosmetic pens when they were drawn using native pdf strokes (QTBUG-68537). The workaround that was done for that bug was to disable native atroking for such pens, so they would always be emulated. The drawback of that was that painting with dashed cosmetic pens would then produce unexpectedly large pdf files, since it would contain individual strokes for every dash. This change fixes the original bug and removes the workaround, re-enabling native stroking for cosmetic lines. Pick-to: 6.2 5.15 Fixes: QTBUG-86094 Change-Id: I58d06ad2db81206025ca2de394f072e822c03d47 Reviewed-by: Lars Knoll <lars.knoll@qt.io> Reviewed-by: Albert Astals Cid <albert.astals.cid@kdab.com> Reviewed-by: André de la Rocha <andre.rocha@qt.io>
Diffstat (limited to 'src/gui/painting/qpdfwriter.h')
0 files changed, 0 insertions, 0 deletions