[bug-gs] Print failure with font error in Ghostscript 8.11

Ray Johnston ray.johnston@artifex.com
Fri, 29 Aug 2003 11:36:40 -0700


John,

I cannot reproduce the -8 error (invalidexit). This renders fine for me.

The notice about the embedded TrueTypes is just a Warning, and does not
result in any error. The name 'Swis721BT' is simply the name given
to the (partial) embedded font in the PDF, and does not have to match
the name of the BitStream font on your platform. Ghostscript proceeds
to use the Flags in the FontDescriptor to select a substitute font.
Thus the verbose messages show:

    **** Warning: Fonts with Subtype = /TrueType should be embedded.
                  But Swis721BT is not embedded.
Substituting font Helvetica for Swis721BT.

    **** Warning: Fonts with Subtype = /TrueType should be embedded.
                  But Swis721CnBT,Bold is not embedded.
Substituting font Helvetica-Narrow for Swis721CnBT,Bold.

    **** Warning: Fonts with Subtype = /TrueType should be embedded.
                  But Swis721CnBT,Italic is not embedded.
Substituting font Helvetica-Narrow-Oblique for Swis721CnBT,Italic.

--------------

Note that we do recommend that creators of PDF's embed any fonts
so that the PDF can be viewed and/or printed portably with the
identical rendering (avoiding rendering differences due to font
substitution).

Possibly Russell Lang (the author of GSView) can test to see if the
problem can be reprodued. It may be specific to OS/2 (I am running
on Windows 2000).

Regards,
Ray Johnston
Artifex Software Inc.
_____________________________________________________________________
John Angelico wrote:

> Symptoms: Print failure with font error
> ------------------------------------------------------------------------
> Ghostscript version (or include output from "gs -h"): 8.11

> Operating system you are using: OS/2-eCS v1.02
> ------------------------------------------------------------------------

> ------------------------------------------------------------------------
> Suggested fix, if any: 
> 1. Do not require embedded Truetype fonts.
> 2. Search for fonts in standard sequence:
> 	system installed fonts
> 	Ghostscript installed fonts
> 	embedded fonts
> 3. If search fails begin search for substitute/equivalent
> [NB: Swis721BT could be Bitstream Swiss 721, possibly the Canon 
> equivalent to Helvetica]
> ------------------------------------------------------------------------
> Other comments: See below comments saved from progress window
> 
> AFPL Ghostscript 8.11 (2003-08-16)
> Copyright (C) 2003 artofcode LLC, Benicia, CA.  All rights reserved.
> This software comes with NO WARRANTY: see the file PUBLIC for details.
> Page 1
>    **** Warning: Fonts with Subtype = /TrueType should be embedded.
>                  But Swis721BT is not embedded.
> gsdll_execute_cont returns -8
> gsapi_exit returns 0
> DosFreeModule returns 0
> ----------------------------------------
> 
> My editing of the pdf, amending "Swis721" to 'Swiss721' was unsuccessful 
> in resolving the problem locally. As a non-programmer, I am of course 
> fiddling in places where I know little of the consequences. 
> I have now reset the editing to original condition
> 
> The file is confidential but its preservation is not critical. 
> File size is 50Kbytes and it is attached to this email
>  
> The same error occurs with other files from the same application
> (government electronic tax reporting system done in MS-Java).
> 
> Acrobat Reader for OS/2 reads and prints the files without *reporting* any
> error.
> 
> GSView 4.4 reads and prints other pdf files satisfactorily, but this is not
> an exhaustive test on my part.
> ------------------------------------------------------------------------
> Copyright   1996, 2001 artofcode LLC. All rights reserved.
> 
> This file is part of AFPL Ghostscript. See the Aladdin Free Public License
> (the "License") for full details of the terms of using, copying, modifying,
> and redistributing AFPL Ghostscript.
> 
> Ghostscript version 8.11, 16 August 2003
> 
> Best regards
> John Angelico
> OS/2 SIG
>  -- and --
> 
> 
> Best Regards,
> John & Marjo Angelico	Kingsley Educational Pty Ltd
> Phone +613 9544 8792	P O Box 310
> Fax +613 9544 2328	Mount Waverley 
> talldad@kepl.com.au	VIC 3149 AUSTRALIA
> www.kepl.com.au	ABN 77 007 423 734
> 

-- 
Regards,
Ray Johnston
Director of Engineering
Artifex Software Inc.
______________________________________________________________