Issue 16920 - PDF unreadable in Acrobat Reader
Summary: PDF unreadable in Acrobat Reader
Status: CLOSED FIXED
Alias: None
Product: gsl
Classification: Code
Component: code (show other issues)
Version: OOo 1.1 RC
Hardware: PC Linux, all
: P3 Trivial (vote)
Target Milestone: OOo 1.1 RC
Assignee: h.ilter
QA Contact: issues@gsl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-16 02:08 UTC by rblackeagle
Modified: 2003-07-23 15:54 UTC (History)
1 user (show)

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


Attachments
Created an attachment (53.92 KB, application/octet-stream)
2003-07-16 14:43 UTC, rblackeagle
no flags Details
Calligrapher ttf file for testing purposes. (39.18 KB, application/octet-stream)
2003-07-16 17:48 UTC, rblackeagle
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description rblackeagle 2003-07-16 02:08:40 UTC
When printing a three-fold brochure (using the template on oooextras) to PDF,
the resulting file is unreadable by Acrobat Reader 5.0.  It gives an error 101
with no content.
Comment 1 dankegel 2003-07-16 06:06:50 UTC
Please upload the document in question, or give a link to it.  Thanks!
Comment 2 rblackeagle 2003-07-16 14:43:19 UTC
Created attachment 7758 [details]
Created an attachment
Comment 3 rblackeagle 2003-07-16 14:49:53 UTC
The attachment includes three .sxd draw objects and an inserted
graphic.  If I leave the draw objects out, it exports the document
correctly as a pdf.  If I leave them in, it fails to make a readable
pdf file.  The inserted graphic is exported correctly.
Comment 4 christof.pintaske 2003-07-16 15:46:05 UTC
robert, please provide the original document as well. 

cp->pl: please have a look at it. maybe a problem with font embedding
? ghostscript sais:

gs RBE_Test_Brochure.pdf 
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.
Processing pages 1 through 2.
Page 1
   **** Unknown operator: 'Regular
   **** File has an unbalanced >> (close dictionary).
Error: /typecheck in --and--


Comment 5 philipp.lohmann 2003-07-16 16:07:56 UTC
The problem is the "Calligrapher Regular" font; its PS-Name literally
contains a space which is a no-no by Adobe's definition. Without the
the font itself i cannot say whether the problem is in the font itself
(a wrong psname entry in the OS/2 table of the font) or whether it
does not have a PS-name at all in which case we generate one out of
the family name. The fix is easy though; i can replace every space
with a '-' and all's well.
Comment 6 thorsten.ziehm 2003-07-16 16:27:44 UTC
This should be fixed for OOo 1.1. But this is not priority 2 it is
only P3.
Comment 7 rblackeagle 2003-07-16 17:46:23 UTC
I think you solved my problem.  I will be careful to select fonts
without spaces in their names for documents to be exported to PDF. I
would then consider it fixed if this will be fixed by 1.1.
Comment 8 rblackeagle 2003-07-16 17:48:42 UTC
Created attachment 7775 [details]
Calligrapher ttf file for testing purposes.
Comment 9 philipp.lohmann 2003-07-16 20:08:40 UTC
Thanks for the font to test. It really contains a PSName containing a
space which needs to be encoded; there is an encoding scheme exactly
for that. Ghostscript is a bit more picky about what needs to be
encoded than the standard recommends, so a little more is encoded now
than normally necessary.

fixed in CWS rc3vcl
Comment 10 philipp.lohmann 2003-07-17 10:41:06 UTC
reassign for verification in CWS rc3vcl
Comment 11 h.ilter 2003-07-17 14:39:00 UTC
Verified with 645m12_8655 (cws:rc3vcl) = ok
Comment 12 h.ilter 2003-07-17 14:39:24 UTC
.
Comment 13 h.ilter 2003-07-23 15:54:35 UTC
.