Bug 66953 - PDF: import PDF does not present the image poperly
Summary: PDF: import PDF does not present the image poperly
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
(earliest affected) release
Hardware: All All
: medium normal
Assignee: Not Assigned
Whiteboard: BSA
Depends on:
Blocks: PDF-Import-Draw
  Show dependency treegraph
Reported: 2013-07-16 09:40 UTC by Hanan Sela
Modified: 2016-06-15 11:04 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:

The attached file is a pdf file that does not presented well in Drow. (1.06 MB, application/pdf)
2013-07-16 09:40 UTC, Hanan Sela
pdf file generatd by R does not show circles along diagonal when imported by Drow (4.49 KB, application/pdf)
2016-05-10 11:20 UTC, Hanan Sela
Test case test.pdf opened in Acrobat and Draw (72.00 KB, image/png)
2016-05-10 12:19 UTC, Heiko Tietze
Screenshot Draw Linux from original pdf (357.92 KB, image/png)
2016-06-03 15:23 UTC, Daniël van Vuuren

Note You need to log in before you can comment on or make changes to this bug.
Description Hanan Sela 2013-07-16 09:40:11 UTC
Created attachment 82472 [details]
The attached file is a pdf file that does not presented well in Drow.

Problem description: 
when I open pdf file with Draw some of the objects are not in place, especially text which appears scrambled. Some of the charterers are replaced with other characters(in the example * is replaced with ^ ). Images are not impoted. The pdfimport extention (Oracle 1.0.4) from OpenOffice  does better with images but not with the text. The same is true with the same libreoffice in Windows XP except the images are presented in the original libreoffice version.         

Steps to reproduce:
1. open the attached file with Draw.
2. ....
3. ....

Current behavior: in the sample file numbers are not in centre of circels "gaza strip" is scrambled, instead of * there is ^.   

Expected behavior:

Operating System: Ubuntu
Version: release
Comment 1 Jorendc 2013-07-16 17:11:21 UTC
Thanks for reporting.

I can confirm this behavior, tested using Mac OSX 10.8.4 with LibreOffice RC.

Kind regards,
Comment 2 vvort 2014-04-22 08:09:11 UTC
Image part of this bug is fixed here:
Comment 3 QA Administrators 2015-06-08 14:42:29 UTC
** Please read this message in its entirety before responding **

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

   Test to see if the bug is still present on a currently supported version of LibreOffice (4.4.3 or later)

   If the bug is present, please leave a comment that includes the version of LibreOffice and your operating system, and any changes you see in the bug behavior
 If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a short comment that includes your version of LibreOffice and Operating System

Please DO NOT

   Update the version field
   Reply via email (please reply directly on the bug tracker)
   Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case)

If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3)


2. Test your bug 
3. Leave a comment with your results;
4a. If the bug was present with 3.3 - set version to "inherited from OOo"; 
4b. If the bug was not present in 3.3 - add "regression" to keyword

Feel free to come ask questions or to say hello in our QA chat: http://webchat.freenode.net/?channels=libreoffice-qa

Thank you for your help!

-- The LibreOffice QA Team This NEW Message was generated on: 2015-06-08
Comment 4 Hanan Sela 2015-06-08 18:10:15 UTC
The bug is still present in LO Ubuntu 14.04
Comment 5 Heiko Tietze 2016-05-09 15:10:04 UTC
Looks good in 5.2 alpha (guess also in LibO fresh). Haifa has a circumflex and symbols are nicely place. Not sure about the west bank's borderline, however ;-).

Please check once again.
Comment 6 Hanan Sela 2016-05-10 11:15:34 UTC
Using LO 5.0.52 on Ubuntu 15.10, the pdf import have improved. The only problem now is that some of the characters are not the same as in the original file as seen by evince. e.g a star is replaced by ^, e.g small circles imported from the default R plot function are missing completely.
Comment 7 Hanan Sela 2016-05-10 11:20:15 UTC
Created attachment 124951 [details]
pdf file generatd by R does not show circles along diagonal when imported by Drow
Comment 8 Heiko Tietze 2016-05-10 12:19:13 UTC
Works like a charm for me (actually better than Acrobat Reader since the x-axis label isn't cropped). The dots are represented as special character, not sure if LilyUPC, ZapfDingbats, Liberation Serif or whatever. If your installation misses the font that might result in an issue (see 85295 for instance). So let's close this bug as fixed.

Build ID: 6b232aeecc55f1715bc111e636e36a8e24827efb
CPU Threads: 4; OS Version: Windows 6.1; UI Render: default; 
TinderBox: Win-x86@39, Branch:master, Time: 2016-01-26_07:40:04
Locale: de-DE (de_DE)
Comment 9 Heiko Tietze 2016-05-10 12:19:57 UTC
Created attachment 124952 [details]
Test case test.pdf opened in Acrobat and Draw
Comment 10 Daniël van Vuuren 2016-06-03 15:23:29 UTC
Created attachment 125470 [details]
Screenshot Draw Linux from original pdf

Doesn't show correctly here.
All images in import from pdf attachment 82472 [details] are flipped vertically.

Build ID: 6b3b352b06d92ef20194b9a992a521af2ef07b48
CPU Threads: 2; OS Version: Linux 4.4; UI Render: default; 
TinderBox: Linux-rpm_deb-x86@71-TDF, Branch:master, Time: 2016-06-03_01:35:48

Same result in these versions:
Build ID: b6230835b927e0053687fae6026fa3603600f321
CPU Threads: 2; OS Version: Linux 4.4; UI Render: default; 
TinderBox: Linux-rpm_deb-x86@71-TDF, Branch:libreoffice-5-2, Time: 2016-06-03_02:09:38

Build ID: 1245bead3a68c9495a870f194f3c523b3b78cf87
CPU Threads: 2; OS Version: Linux 4.4; UI Render: default; 
TinderBox: Linux-rpm_deb-x86@71-TDF, Branch:libreoffice-5-1, Time: 2016-06-02_04:43:39