Error /undefinedfilename In /findfont
Contents |
here for a quick overview of the site Help Center Detailed answers
Ghostscript Error /undefined In
to any questions you might have Meta Discuss the ghostscript command line workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Ghostscript: “Unrecoverable error: undefinedfilename in setpagedevice” up vote 1 down vote favorite I'm trying to compress pdf files using ghostscript like this: gs -sDEVICE=pdfwrite -dPDFSETTINGS=/ebook -dCompatibilityLevel=1.4 -dNOPAUSE -dBATCH -sOutputfile=output.pdf input.pdf I've done this successfully in the past, but for some reason now it won't work. I get the following error: GPL Ghostscript 9.15 (2014-09-22) Copyright (C) 2014 Artifex Software, Inc. All rights reserved. This software comes with NO WARRANTY: see the file PUBLIC for details. **** Unable to open the initial device, quitting. Unrecoverable error: undefinedfilename in setpagedevice Operand stack: true --nostringval-- --nostringval-- --nostringval-- --nostringval-- --nostringval-- --nostringval-- --nostringval-- --nostringval-- [Edit: I fixed the typo from -SOutputFile to -sOutputFile to avoid this red herring. (But that is what some of the comments/answers are referring to.)] pdf ghostscript share|improve this question edited Dec 13 '14 at 16:25 asked Dec 13 '14 at 0:48 emacsomancer 294314 1 -SOutputFile is incorrect, it should be -sOutputFile. Because you haven't specified an output file, you get an undefinedfilename. Not too surprising :-) I strongly reco
Next message: [Bug 921706] ghostscript: /invalidfont in /findfont, --nostringval-- Helvetica Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] https://bugzilla.redhat.com/show_bug.cgi?id=921706 Tim Waugh
Next message: [Bug 921706] ghostscript: /invalidfont in /findfont, --nostringval-- Helvetica Messages sorted by: [ date ] [ thread https://lists.fedoraproject.org/pipermail/fonts-bugs/2013-September/023931.html ] [ subject ] [ author ] https://bugzilla.redhat.com/show_bug.cgi?id=921706 Mario Blättermann https://github.com/brucemiller/LaTeXML/issues/673
Sign in Pricing Blog Support Search GitHub This repository Watch 17 Star 112 Fork 33 brucemiller/LaTeXML Code Issues 81 Pull requests 2 Projects 0 Wiki Pulse Graphs New issue Defend against unrecoverable ghostscript error #673 Closed dginev opened this Issue Oct 18, 2015 · 4 comments Projects None yet Labels duplicate enhancement question Milestone LaTeXML-0.8.2 Assignees brucemiller 2 participants Collaborator dginev commented Oct 18, 2015 This error, caught from the arXiv conversion harness, seems to terminate processes in a "dirty" manner, as I have seen my latexml workers quietly die with this being the last caught trace in STDERR. Sadly I don't have an example that can reproduce this problem (yet), but there are good hints as to how to reproduce it. I wonder if the "fork on image convert" approach described in #663 would also help us protect against these issues. Can't find the font file /usr/share/fonts/truetype/fonts-japanese-mincho.ttf Error: /undefinedfilename in /findfont Operand stack: --nostringval-- 18.0 Ryumin-Light-83pv-RKSJ-H Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1910 1 3 %oparray_pop 1909 1 3 %oparray_pop --nostringval-- 1893 1 3 %oparray_pop 1787 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- 1868 3 4 %oparray_pop Dictionary stack: --dict:1166/1684(ro)(G)-- --dict:0/20(G)-- --dict:84/200(L)-- --dict:144/300(L)-- Current allocation mode is local Last OS error: No such file or directory Current file position is 46995 GPL Ghostscript 9.05: Unrecoverable error, exit code 1 Can't find the font file /usr/share/fonts/truetype/fonts-japanese-mincho.ttf Error: /undefinedfilename in /findfont Operand stack: --nostringval-- 18.0 Ryumin-Light-83pv-RKSJ-H Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1910 1 3 %oparray_pop 1909 1 3 %oparray_pop --nostringval-- 1893 1 3 %oparray_pop 1787 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostr