Apache OpenOffice (AOO) Bugzilla – Issue 110768
curved lines of width > zero are not smooth when printed
Last modified: 2010-06-22 07:42:46 UTC
Steps to reproduce: 1) File > New > Drawing 2) Insert an ellipse, size about 1/4 page 3) Change line width/thickness to 0.1 cm 4) File > Print Printed ellipse is not smooth, has obvious segments. Same figure printed in OOo 3.2 is smooth; not smooth printed from DEV300_m76. See attached document for an example with output.
Created attachment 68857 [details] Sample document showing problem
Output is smooth in DEV300m68, but buggy in DEV300m69. Export to pdf is OK.
Reproducible. Reassigned.
reassigned
AW: Checked, and curves do not fallback to polygons through their control points (as i first thought), but the quality got worse. PDF is probably okay since curves go fully to PDF now. AW: Looking which path the curve takes when printing (MetaFile)...
AW: Debugged a simple example, just one curve with some width. MetaFiles created correctly, a MetaPolyLineAction with the original bezier in a tools Polygon and a correct LineInfo is used. When printing, OutputDevice::impPaintLineGeometryWithEvtlExpand is used. Since the bezier is not subdivided yet, it gets the default subdivision from basegfx::tools::createAreaGeometry which is not optimal. Added code to force usage of basegfx::tools::adaptiveSubdivideByDistance in that cases. Testing...
AW: Works as expected, checked in, done.
AW: Checked in CWS aw081, works as expected. AW->WG: Please verify.
Verified in CWS.
Testing "OOo-dev 3.3 300m83(Build:9511)" on Fedora Linux 13 Printed lines look smooth now. Thanks!
Closed.