Bug 140130

Summary: Impossible to read specific PDF Document in Acrobat Reader
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Holger Hetterich <hhetter>
Component: CommercialAssignee: E-mail List <bnc-team-screening>
Status: RESOLVED WONTFIX QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: pmladek
Version: Final   
Target Milestone: ---   
Hardware: i386   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Holger Hetterich 2005-12-19 13:48:05 UTC
When loading the PDF in Acrobat Reader on SuSE 10.0 I get the message:
"Unable to extract the embedded font", and the document is rendered unreadable afterwards.

Trying the document in KPDF or other viewers leads to no error message at all and nothing is rendered.

I can't post the document in Bugzilla as the content of the Document is sensitive information, but I can tell that the Document was created with OpenOffice 1.1.5 (export to PDF).

If I google for the error message, I get a lot of people with the same problem. However I suppose PDF should be readable on any platform. 

The PDF is read without any problem with Acrobat on Windows.

Is that a problem of the OpenOffice PDF creation or an Acrobat specific problem? What can the PDF creator do to avoid the problem?

I know we can't debug a commercial app like Acrobat, but maybe someone knows an advice how to work around the problem, as I am not into PDF.
Comment 1 Michael Gross 2005-12-19 15:16:49 UTC
Unfortunately, Adobe Acrobat Reader is closed source software. If the problem lies on the OO-side, it should be solvable. I think OO uses ghostscript to convert the resulting Postscript output into PDF. Is it possible for you to create another document that shows the same error and attach it here? You might try printing it to a file (.ps) and use `ps2pdfm' to convert it into PDF. Does the problem remain with this method? Maby OO uses a bad parameter when calling gs.
Comment 2 Michael Gross 2005-12-19 15:21:26 UTC
Sorry, the tool's name is `ps2pdf' ;)
Comment 3 Holger Hetterich 2005-12-22 09:24:59 UTC
Here is the output when I try to convert the PDF to ps using pdf2ps:


holgernet@linux:~/GPDOCS> pdf2ps 9-2005\ Rundbrief\ Meere_12-05.pdf
   **** Warning:  An error occurred while reading an XREF table.
   **** The file has been damaged.  This may have been caused
   **** by a problem while converting or transfering the file.
   **** Ghostscript will attempt to recover the data.
Error: /rangecheck in --getinterval--
Operand stack:
   --dict:6/6(L)--   R9   14.04   --dict:9/14(L)--   --dict:9/14(L)--   948   --dict:9/14(L)--   (\000\000\000\002\000\001\000\000\000\000\024\000\003\000\000\000\000\000\032\000\000\000\006\000\000\000\0035XQGEULHI01\021\034\022\025\023\030+DPJ\017\024']:OlFK\020ZW$V7\004RSgN6*\\3M,Y%-|\341\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000...)   5120   -4702
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   false   1   %stopped_push   1   3   %oparray_pop   1   3   %oparray_pop   1   3   %oparray_pop   --nostringval--   --nostringval--   2   1   3   --nostringval--   %for_pos_int_continue   --nostringval--   --nostringval--   --nostringval--   --nostringval--   %array_continue   --nostringval--   false   1   %stopped_push   --nostringval--   %loop_continue   --nostringval--   --nostringval--   --nostringval--   --nostringval--   --nostringval--   --nostringval--
Dictionary stack:
   --dict:1132/3371(ro)(G)--   --dict:0/20(G)--   --dict:85/200(L)--   --dict:85/200(L)--   --dict:104/127(ro)(G)--   --dict:241/347(ro)(G)--   --dict:22/24(L)--   --dict:4/6(L)--   --dict:20/20(L)--   --dict:5/8(L)--   --dict:8/8(L)--   --dict:28/50(ro)(G)--   --dict:24/40(L)--
Current allocation mode is local
Last OS error: 2
ESP Ghostscript 8.15.0: Unrecoverable error, exit code 1

If I print to file in acrobat, it results in an empty PS file meaning zero lentgh. :(


Meanwhile I got several documents with the same problem. I did not yet checked these for usability in windows though.

The creator is always OpenOffice 1.1.x.
Comment 4 Martin Lasarsch 2006-01-02 14:43:43 UTC
hm, i'm not sure what to do with this bug, Petr or George any ideas?
Comment 5 Michael Gross 2006-01-03 10:12:51 UTC
Holger... sorry: But please try to convert the OO PS-output into PDF, not the PDF into PS again. If this fails, please attach the postscript file here for further analysis.
Comment 6 George Horlacher 2006-01-09 17:05:22 UTC
I wonder if the version of Acroread has anything to do with it.  I just checked in a new version 7.0.5 from acrobat.  I know the windows version 7.0.5 has been out for quite a while... Maybe try this new version and see if the problem persists... I've checked it into STABLE and 10.0 so far.
Comment 7 Michael Gross 2006-01-11 11:27:49 UTC
I take Werner into CC: Werner, is this issue known? Maby you can provide some clue here? Thanks.
Comment 8 Holger Hetterich 2006-01-11 11:41:22 UTC
I am trying to create a document which reproduces the bug which I can share here.
Comment 9 Dr. Werner Fink 2006-01-11 11:58:35 UTC
Please forward this bug to Adobe because we don not have any
source code for Acrobat Reader.