Issue 12227

Summary: eps export doesn't set lines smaller that 0.4 mm
Product: Draw Reporter: Unknown <non-migrated>
Component: codeAssignee: wolframgarten
Status: CLOSED FIXED QA Contact: issues@graphics <issues>
Severity: Trivial    
Priority: P3 CC: issues
Version: 643   
Target Milestone: OOo 1.1 Beta2   
Hardware: PC   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---

Description Unknown 2003-03-11 11:54:37 UTC
I tried different lines with 0.2 0.3 0.35.  These lines have always the minimal 
width with different zooms.

I tried with OOo 643 windows and 1.0 linux. I used gsview 4.3 and acrobat 5.0 
(with epstopdf) on windows and acroread and kgoshview on linux to display the 
files.
Comment 1 wolframgarten 2003-03-25 12:02:14 UTC
Set to new.
Comment 2 wolframgarten 2003-03-25 12:04:45 UTC
This is reproduceable in 1.0.2 and in an current internal version.
Please have a look.
Comment 3 sven.jacobi 2003-03-26 10:28:09 UTC
SJ->THB: This issue seems to be best suited for you. 
Comment 4 thb 2003-03-26 14:45:17 UTC
Problem was that in svdobj.cxx, the ImpLineStyleParameterPack is generated from 
the item set and contains a special handling for the line width. Namely, if called with 
bForceHair==true, the line width is forced to zero, to have a true hair line on 
display. As this bool value is dependent on the zoom level, you get correct export if 
you zoom into your drawing before exporting, and incorrect one if you don't. 


Fixed by always transporting the true value in ImpLineStyleParameterPack, and 
having special accessor methods for the display cases.
Comment 5 thb 2003-04-17 16:08:18 UTC
Verified on srx644_draw9
Comment 6 thb 2003-04-17 16:08:55 UTC
Please verify, too.
Comment 7 thb 2003-04-17 16:09:25 UTC
Fixed on srx644_draw9
Comment 8 wolframgarten 2003-04-23 11:02:17 UTC
Verified.
Comment 9 wolframgarten 2003-04-29 10:23:38 UTC
Tested and closed.