For Programmers: Free Programming Magazines  


Home > Archive > PostScript > June 2006 > Font problem converting PDF...









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Font problem converting PDF...
Demian Katz

2006-06-28, 7:01 pm

I'm trying to use Ghostscript 8.54 to convert a PDF file to a JPEG.
However, when I run this command:

gs -sDEVICE=jpeg -sOutputFile=outfile.jpg -dNOPAUSE -dBATCH infile.pdf

This gives me an error dump (see end of this message).

Has anyone seen this before? Based on experimentation, I think the
problem may have something to do with the fact that there's an embedded
OpenType Futura font in the PDF. Does something special need to be
done to get Ghostscript to properly use embedded fonts? Do I need to
change something in my Fontmap files?

Any suggestions would be greatly appreciated!

Output of command:

GPL Ghostscript 8.54 (2006-05-17)
Copyright (C) 2006 artofcode LLC, Benicia, CA. All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Processing pages 1 through 1.
Page 1
Error: /rangecheck in --string--
Operand stack:
--dict:5/5(L)-- 1 F0 62 --dict:6/6(L)-- --dict:6/6(L)--
FuturaStd-Condensed-Identity-H --dict:11/12(ro)(G)--
--nostringval-- --dict:6/6(L)-- 375 --dict:6/6(L)--
--dict:5/6(L)-- --nostringval-- --nostringval-- 767 -13716
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 1 --nostringval-- %for_pos_int_continue
--nostringval-- --nostringval-- --nostringval-- --nostringval--
%array_continue --nostringval-- false 1 %stopped_push
--nostringval-- %loop_continue --nostringval-- 2907219
--nostringval-- 3 11 %oparray_pop --nostringval-- false 1
%stopped_push 3 11 %oparray_pop --nostringval-- (gstatetype)
--dict:0/0(L)-- --nostringval-- false 1 %stopped_push
--nostringval-- %loop_continue --nostringval-- --nostringval--
--nostringval-- --nostringval-- --nostringval-- --nostringval--
%array_continue --nostringval-- --nostringval-- --nostringval--
--nostringval-- --nostringval-- --nostringval-- %loop_continue
--nostringval-- --nostringval-- --nostringval-- %array_continue
--nostringval-- --nostringval-- --nostringval--
Dictionary stack:
--dict:1120/1686(ro)(G)-- --dict:2/20(G)-- --dict:75/200(L)--
--dict:75/200(L)-- --dict:105/127(ro)(G)-- --dict:253/347(ro)(G)--
--dict:21/24(L)-- --dict:4/6(L)-- --dict:20/20(L)--
--dict:1/1(ro)(G)-- --dict:5/5(L)-- --dict:10/13(L)--
--dict:53/72(ro)(G)-- --dict:18/30(L)--
Current allocation mode is local
GPL Ghostscript 8.54: Unrecoverable error, exit code 1

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2009 codecomments.com