Issue 13112 - PDF export fails with some drawing files
Summary: PDF export fails with some drawing files
Status: CLOSED IRREPRODUCIBLE
Alias: None
Product: Draw
Classification: Application
Component: code (show other issues)
Version: OOo 1.1 Beta
Hardware: PC Linux, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: wolframgarten
QA Contact: issues@graphics
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-07 11:03 UTC by Unknown
Modified: 2003-09-08 16:52 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
the original sxd file which generates odd PDF file (9.80 KB, application/octet-stream)
2003-04-07 11:04 UTC, Unknown
no flags Details
... and the odd PDF (89.50 KB, application/octet-stream)
2003-04-07 11:06 UTC, Unknown
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description Unknown 2003-04-07 11:03:30 UTC
Hi everyone !

I've been generating some PDF using OOo Draw, and the result is quite
disappointing with some very specific drawing (see attachement), including 3D
objects and come king of hatching :
- both are transparent using kGhostView 0.13 (kde 3.0) (linux)
- the hatched polygon is black viewed with Acrobat Reader 4.0 (linux)

Can anyone please test my files on a different OS / platform to help find out
where it comes from ?

@++
Didier
Comment 1 Unknown 2003-04-07 11:04:48 UTC
Created attachment 5506 [details]
the original sxd file which generates odd PDF file
Comment 2 Unknown 2003-04-07 11:06:45 UTC
Created attachment 5507 [details]
... and the odd PDF
Comment 3 wolframgarten 2003-04-07 11:36:06 UTC
Set to new.
Comment 4 wolframgarten 2003-04-07 11:37:17 UTC
This is reproduceable in OO1.1 beta and in a current internal version.
Reassigned to Sven.
Comment 5 sven.jacobi 2003-04-07 12:36:51 UTC
The OOo PDF export is generating PDF files version 1.4, which are best
readable with Acrobat Reader v5.0 or higher. The attachment can be
loaded without any problems on Acrobat Reader 5.0.

SJ->WG: You should close this Issue.


Comment 6 wolframgarten 2003-04-07 12:44:22 UTC
Works with Acrobat Reader 5.0. Thanks for your help.
Comment 7 wolframgarten 2003-04-07 12:44:41 UTC
Issue closed.
Comment 8 Unknown 2003-04-07 13:39:44 UTC
Hi !

It works fine with Acrobat Reader v.5.0.5 / linux.

Note for latex users : no problem mixing
- pdflatex
- OOo generated PDF

...as soon as you check the result with the above AcroRead version.

Thx a lot !

Didier
Comment 9 whitegn3 2003-05-28 23:20:11 UTC
I tried the PDF file xpdf-2.02 and ghostscript on mdk 9.0.  For Xpdf the
display has the black hatched polygon problem, while ghostscript
dumped core.  I consider the pdf code higly suspect.
Comment 10 whitegn3 2003-05-28 23:30:04 UTC
A bit more data.  I loaded the document and exported to PDF using 
OOo1.1beta2.  The fonts changed:

$ pdffonts discretisation_2D_3D.pdf
name                       type         emb sub uni object ID
-------------------------- ------------ --- --- --- ---------
URWChanceryL-MediItal      Type 1       yes no  no      15  0
CharterBT-Roman            Type 1       yes no  no      19  0
[gwhite@cerberus T]$ pdffonts discretisation_2D_3Db2.pdf
name                       type         emb sub uni object ID
-------------------------- ------------ --- --- --- ---------
BAAAAA+ComicSansMS         TrueType     yes yes yes     16  0
CAAAAA+ArialMT             TrueType     yes yes yes     21  0



AFPL Ghostscript 8.00 (2002-11-21)
Copyright (C) 2002 artofcode LLC, Benicia, CA.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Scanning PDF file
%GSVIEW_PDF_PAGES: 1 1
Displaying PDF page 1
%GSVIEW_PDF_PAGE: 1
%GSVIEW_PDF_MEDIA: [0 0 842 595]
%GSVIEW_PDF_ROTATE: 0
WM_GSTEXTINDEX not implemented
Unrecoverable error: VMerror in eofill
Operand stack:
    --nostringval--
pdf_page failed

Comment 11 whitegn3 2003-06-14 02:41:41 UTC
Very simple documents with a cross-hatched fill produce the same
error in ghostscript and render incorrectly in xpdf-2.0.  I filed bug
reports with developers of both apps.  The developer of xpdf reports
that the file triggered a bug in xpdf and also a bug in his X-server.  
The file also touches on a couple areas where the pdf documentation
is ambiguous.  The next version of xpdf should handle these files
(good news for those using platforms where new versions of acrobat
are not appearing, like SGI).