Issue 110768 - curved lines of width > zero are not smooth when printed
Summary: curved lines of width > zero are not smooth when printed
Status: CLOSED FIXED
Alias: None
Product: Draw
Classification: Application
Component: printing (show other issues)
Version: DEV300m76
Hardware: PC All
: P3 Trivial (vote)
Target Milestone: OOo 3.3
Assignee: wolframgarten
QA Contact: issues@graphics
URL:
Keywords: oooqa, regression
Depends on:
Blocks:
 
Reported: 2010-04-10 20:11 UTC by Joe Smith
Modified: 2010-06-22 07:42 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Sample document showing problem (61.59 KB, application/vnd.oasis.opendocument.graphics)
2010-04-10 20:12 UTC, Joe Smith
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description Joe Smith 2010-04-10 20:11:20 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.
Comment 1 Joe Smith 2010-04-10 20:12:05 UTC
Created attachment 68857 [details]
Sample document showing problem
Comment 2 Regina Henschel 2010-04-10 20:55:46 UTC
Output is smooth in DEV300m68, but buggy in DEV300m69.

Export to pdf is OK.
Comment 3 wolframgarten 2010-04-12 07:21:24 UTC
Reproducible. Reassigned.
Comment 4 clippka 2010-04-16 13:26:08 UTC
reassigned
Comment 5 Armin Le Grand 2010-05-10 12:54:30 UTC
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)...
Comment 6 Armin Le Grand 2010-05-10 14:13:30 UTC
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...
Comment 7 Armin Le Grand 2010-05-10 14:15:52 UTC
AW: Works as expected, checked in, done.
Comment 8 Armin Le Grand 2010-05-28 11:33:38 UTC
AW: Checked in CWS aw081, works as expected.
AW->WG: Please verify.
Comment 9 wolframgarten 2010-06-02 09:32:43 UTC
Verified in CWS.
Comment 10 Joe Smith 2010-06-21 20:36:36 UTC
Testing "OOo-dev 3.3  300m83(Build:9511)" on Fedora Linux 13

Printed lines look smooth now.

Thanks!
Comment 11 wolframgarten 2010-06-22 07:42:46 UTC
Closed.