Bug #186 - Invalid font embedding causes postscript error
Product:PageStream (Linux)Reported By:Tim Doty
Severity:NormalAssigned To:Deron Kazmaier
Priority:Average sign in to watch (1 is watching)
Status:NewReported:2007-10-20 18:03:07
Category:PrintingUpdated:2007-10-20 18:03:07
Summary:Invalid font embedding causes postscript error
Keywords:printing, postscript, font embedding
Attached Files:test.psLen:559,321 bytesMD5:52b20761502312ca4a421aa262cad335postscript file that ghostscript chokes on
 test.pdfLen:158,265 bytesMD5:ff678e87021111e539706909deb52600PDF exported directly from PgS of the same document
 Sign In to add a file.

Attempting to print a simple document with Microsoft's "core webfont" Cambria fails. Printing to a postscript file and running through ghostscript gives the following:

ESP Ghostscript 815.04 (2007-03-14)
Copyright (C) 2004 artofcode LLC, Benicia, CA. All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Substituting espgsMissingChar for L in the font PGSCambria
ERROR: /undefined in --get--
Additional information: [/DeferredMediaSelection true]
Operand stack:
--nostringval-- --nostringval-- --dict:14/15(ro)(L)-- 76 .notdef --dict:1/2293(ro)(L)-- .notdef
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 1 3 %oparray_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- %finish_show --nostringval-- --nostringval-- 3 4 2 --nostringval-- (gs_show_enum) %op_show_continue --nostringval--
Dictionary stack:
--dict:1121/1686(ro)(G)-- --dict:0/20(G)-- --dict:104/200(L)-- --dict:210/302(L)-- --dict:14/15(ro)(L)--
Current allocation mode is local
Last OS error: 2
Current file position is 551543
ESP Ghostscript 815.04: Unrecoverable error, exit code 1

The document was produced by running LoremIpsum.py and setting the font to Cambria. Loading the font file into FontForge results in no errors or warnings: the font appears to be good. This appears to be a result of bad font embedding. Cambria is distributed with Windows Vista, Office 2007 and is also available for download from Microsoft (bundled with the PowerPoint viewer) or elsewhere as a zip file.

Add a Comment
Sign in to add a comment.

Bug #186 - Invalid font embedding causes postscript error by Tim Doty   printing, postscript, font embedding
  created:2007-10-20 18:03:07   last updated:2007-10-20 18:03:07
  Copyright © 1985-2021 GrasshopperLLC. All Rights Reserved.

sign in to add a bug