Opened 10 years ago

Closed 10 years ago

Last modified 7 years ago

#2930 closed defect (fixed)

Printing models drops lines

Reported by: Adam Dershowitz <dersh@…> Owned by: Alachew Mengist
Priority: high Milestone: 1.9.4
Component: OMEdit Version: trunk
Keywords: Cc: Adeel Asghar

Description

If I print a model from OMEdit many lines don't show up completely. As an example, I opened Modelica->Electrical->Analog->Examples->CauserLowPassAnalog
I then printed it to paper, printed direct to PDF and did a screen capture of my window.
The PDF and screen grab are attached. The PDF uses low-res ("thick") lines, so doesn't look as sharp. But, more significant, is that some lines are only partially drawn (both in the PDF and on paper).
I tested this both on a Mac (22923_0) and Linux (1.9.1 beta4

Attachments (4)

CauerLowPass.pdf (21.6 KB ) - added by Adam Dershowitz <dersh@…> 10 years ago.
CauerLowPass.tiff (43.8 KB ) - added by Adam Dershowitz <dersh@…> 10 years ago.
CauerLowPassNew.pdf (14.1 KB ) - added by Adeel Asghar 10 years ago.
print.pdf (11.2 KB ) - added by Adeel Asghar 10 years ago.

Download all attachments as: .zip

Change History (9)

by Adam Dershowitz <dersh@…>, 10 years ago

Attachment: CauerLowPass.pdf added

by Adam Dershowitz <dersh@…>, 10 years ago

Attachment: CauerLowPass.tiff added

comment:1 by Adeel Asghar, 10 years ago

Cc: Adeel Asghar added
Owner: changed from Adeel Asghar to Alachew Mengist
Status: newassigned

by Adeel Asghar, 10 years ago

Attachment: CauerLowPassNew.pdf added

comment:2 by Adeel Asghar, 10 years ago

Resolution: fixed
Status: assignedclosed

Fixed in r23381. See the attached CauerLowPassNew.pdf.

by Adeel Asghar, 10 years ago

Attachment: print.pdf added

comment:3 by Adeel Asghar, 10 years ago

I checked the print functionality on Ubuntu and it is a bit weird. Qt does not handle the cosmetic pen in printing. Seems like related to this Qt bug https://bugreports.qt-project.org/browse/QTBUG-17422.

The connections are drawn using the cosmetic pen.

The windows version seems to be working fine. The unix users have to live with thick connection lines. The same problem with SVGs. However, the SVG problem is both on Windows & Unix.

comment:4 by Dietmar Winkler, 9 years ago

Milestone: Futurepre1.9.4

It doesn't make sense to keep closed ticket in the "Future" milestone that were simply forgotten to assign to the correct milestone in the past.

comment:5 by Martin Sjölund, 7 years ago

Milestone: pre1.9.41.9.4

Removing the pre1.9.4 milestone in favor of 1.9.4.

Note: See TracTickets for help on using tickets.