Bug 73876

Summary: PDF: Imported PDF is scrambled
Product: LibreOffice Reporter: Markus Ilmola <markus.ilmola>
Component: DrawingAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: medium CC: jbfaure, todventtu, vvort
Version: 4.2.0.2 rc   
Hardware: Other   
OS: Windows (All)   
Whiteboard: BSA
i915 platform: i915 features:
Attachments: Test pdf file
The document rendered by Adobe Reader
Another example PDF that displays incorrectly within LibreOffice

Description Markus Ilmola 2014-01-21 13:33:20 UTC
Created attachment 92518 [details]
Test pdf file

Problem description:
A PDF file imported by Draw is scrambled (displays garbage).

Steps to reproduce:
1. Open attached document.pdf in draw.

Current behavior:
The file content appears scrambled.

Expected behavior:
The pdf file should look (more of less) like in Adobe Reader

ps.
It should be noted that this pdf file appears scrambled in the Firefox internal PDF reader too.

              
Operating System: Windows XP
Version: 4.2.0.2 rc
Comment 1 Markus Ilmola 2014-01-21 13:34:45 UTC
Created attachment 92519 [details]
The document rendered by Adobe Reader
Comment 2 Jean-Baptiste Faure 2014-01-26 17:05:21 UTC
How this pdf file has been produced? In the properties of the pdf I read FOP 0.20.4. Did you reported the problem to Apache FOP too?

Best regards. JBF
Comment 3 Markus Ilmola 2014-01-26 17:51:34 UTC
It's a package card generated by the online service of Itella Logistics.

A public demo of this service is at:

http://demo.prinetti.net/

Username: demo
Password: demo

As far as I know, only LibreOffice and FireFox display this file incorrectly. Evince, Gimp and Google Chrome display it correctly.
Comment 4 Hal Lasell 2014-05-22 01:57:30 UTC
Created attachment 99549 [details]
Another example PDF that displays incorrectly within LibreOffice

This bug appears to describe my problem.  
I assume the word "import" in this existing bug means, loading a native PDF file into LibreOffice.
The existing example file already associated with this bug appears mostly text, with text scrambled.
This additional file uploaded demonstrates scrambled images also.
Hope the additional example is helpful.  Thanks for the great work.
Comment 5 Hal Lasell 2014-05-22 01:59:53 UTC
This second file was loaded into LibreOffice multiple ways.  First, PDFs were set to open by LibreOffice and the file was double-clicked within Windows Explorer (on a Win 7 Home Premium system).  The same results were also obtained by opening Draw first, then opening the file from within Draw; and also by opening Write first, then opening the file from within Write.
Comment 6 Beluga 2014-11-24 12:23:30 UTC
I confirm the mess with attachment 92518 [details].
However, attachment 99549 [details] is fine.

I tried producing PDFs with the Prinetti service, but all the ouputted PDFs were somehow completely broken and could not be opened with any software.

The reporter should contact Prinetti support.

Win 7 64-bit Version: 4.5.0.0.alpha0+
Build ID: 772befa08f02b08da1ab493896a0744bc73781c7
TinderBox: Win-x86@51-TDF, Branch:MASTER, Time: 2014-11-23_22:39:02
Comment 7 vvort 2015-01-24 14:09:26 UTC
Seems like first file is encrypted and therefore is unsuitable for editing.
If you try to copy the text from this file with Adobe Reader - you will see the same garbage.
Second file looks quite good.
Should we close this report then?
Comment 8 Beluga 2015-01-24 15:38:50 UTC
Thanks Vort, I'll close this as invalid.

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.