Bug 61144 - Pdf import of technical drawings gives wrong line widths and colors
Summary: Pdf import of technical drawings gives wrong line widths and colors
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Drawing (show other bugs)
Version: unspecified
Hardware: All Mac OS X (All)
: medium normal
Assignee: Not Assigned
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-19 23:58 UTC by brian.bj.parker99
Modified: 2014-02-22 20:20 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Original pdf (88.69 KB, application/pdf)
2013-02-19 23:58 UTC, brian.bj.parker99
Details
Pdf after opening and exporting in LO (216.25 KB, application/pdf)
2013-02-20 00:00 UTC, brian.bj.parker99
Details
Exported PDF from LO (12.62 KB, application/pdf)
2014-02-22 20:13 UTC, Luiz Angelo Daros de Luca
Details
Exported PDF from LO imported into LO (12.89 KB, application/pdf)
2014-02-22 20:19 UTC, Luiz Angelo Daros de Luca
Details
Exported PDF from M$OFFICE (85.13 KB, application/pdf)
2014-02-22 20:20 UTC, Luiz Angelo Daros de Luca
Details
Exported PDF from M$OFFICE imported into LO (14.56 KB, application/pdf)
2014-02-22 20:20 UTC, Luiz Angelo Daros de Luca
Details

Description brian.bj.parker99 2013-02-19 23:58:47 UTC
Created attachment 75142 [details]
Original pdf
Comment 1 brian.bj.parker99 2013-02-20 00:00:43 UTC
Created attachment 75144 [details]
Pdf after opening and exporting in LO
Comment 2 brian.bj.parker99 2013-02-20 00:07:51 UTC
Importing technical drawings into LibreOffice (LO) Draw for editing almost works except for a few visual artifacts. If this could be made reliable then LO would be a great alternative to Illustrator for tweaking images for scientific publications, and I am sure would be widely used for that.

I have attached a typical pdf (from the UCSC genome browser web site at:
http://genome.ucsc.edu/cgi-bin/hgTracks) and a version of the pdf after opening and exporting in LO. 

The main defects after processing by LO are that line widths are wrong and line colors are not correct.
Also, occasional lines are too long e.g. the one at "Sequences".
Text seems mostly correct (although strangely the "i" in "Zebrafish" disappeared).
Comment 3 Thomas van der Meulen 2013-06-20 17:52:31 UTC
Thank you for your bug report, I can reproduce this bug running LibreOffice Version: 4.1.0.1
Build ID: 1b3956717a60d6ac35b133d7b0a0f5eb55e9155 on Mac osx 10.8.4.
Comment 4 Luiz Angelo Daros de Luca 2014-02-22 20:12:40 UTC
I have similar problem with current 4.2.1.1 version. LO imports its own exported PDF file changing colors completely. It's like if PDF declared a colorscheme (YMC) and LO read another (RGB). I'll attach an example (the default LO chart). However, I got not artifacts with it. 

I also did the same with an Microsoft Office chart (also exported as PDF). In this case, the colors are OK while the grid lines are misplaced. If lines are draw from bottom to up, it seems that someone forget reset the x variable for the second line and on.
Comment 5 Luiz Angelo Daros de Luca 2014-02-22 20:13:18 UTC
Created attachment 94583 [details]
Exported PDF from LO
Comment 6 Luiz Angelo Daros de Luca 2014-02-22 20:19:37 UTC
Created attachment 94584 [details]
Exported PDF from LO imported into LO
Comment 7 Luiz Angelo Daros de Luca 2014-02-22 20:20:10 UTC
Created attachment 94585 [details]
Exported PDF from M$OFFICE
Comment 8 Luiz Angelo Daros de Luca 2014-02-22 20:20:22 UTC
Created attachment 94586 [details]
Exported PDF from M$OFFICE imported into LO


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.