[MacPorts] #42395: ghostscript cannot find fonts (such as Times)
MacPorts
noreply at macports.org
Thu Feb 6 16:57:30 PST 2014
#42395: ghostscript cannot find fonts (such as Times)
-------------------------------+--------------------------------
Reporter: andrewhw@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.2.1
Keywords: ghostscript fonts | Port: ghostscript
-------------------------------+--------------------------------
When running ghostscript on simple files (example attached), I receive
"Can't find (or can't open) font file" errors.
This error occurs in dependent ghostscript tools (gv and xdvi for
instance).
Error message here:
{{{
% gs McNemar-Delta-Plot.eps
GPL Ghostscript 9.10 (2013-08-30)
Copyright (C) 2013 Artifex Software, Inc. All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Loading StandardSymL font from
/opt/local/share/ghostscript/9.10/Resource/Font/StandardSymL... 3676508
2201424 4439120 2782307 2 done.
Can't find (or can't open) font file
/opt/local/share/ghostscript/9.10/Resource/Font/Times.
Can't find (or can't open) font file Times.
Querying operating system for font files...
Error: /typecheck in /findfont
Operand stack:
Times
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval--
--nostringval-- 2 %stopped_push --nostringval-- --nostringval--
--nostringval-- false 1 %stopped_push 1916 1 3 %oparray_pop
1915 1 3 %oparray_pop --nostringval-- 1899 1 3
%oparray_pop 1787 1 3 %oparray_pop --nostringval--
%errorexec_pop .runexec2 --nostringval-- --nostringval--
--nostringval-- 2 %stopped_push --nostringval-- 1868 1 4
%oparray_pop
Dictionary stack:
--dict:1171/1684(ro)(G)-- --dict:0/20(G)-- --dict:83/200(L)--
--dict:184/256(L)--
Current allocation mode is local
Last OS error: Invalid argument
Current file position is 17091
GPL Ghostscript 9.10: Unrecoverable error, exit code 1
}}}
The lack of anything Times related in the font directory seems suspicious
to me:
{{{
% ls /opt/local/share/ghostscript/9.10/Resource/Font/
CenturySchL-Bold NimbusSanL-ReguCond
CenturySchL-BoldItal NimbusSanL-ReguCondItal
CenturySchL-Ital NimbusSanL-ReguItal
CenturySchL-Roma StandardSymL
Dingbats URWBookmanL-DemiBold
NimbusMonL-Bold URWBookmanL-DemiBoldItal
NimbusMonL-BoldObli URWBookmanL-Ligh
NimbusMonL-Regu URWBookmanL-LighItal
NimbusMonL-ReguObli URWChanceryL-MediItal
NimbusRomNo9L-Medi URWGothicL-Book
NimbusRomNo9L-MediItal URWGothicL-BookObli
NimbusRomNo9L-Regu URWGothicL-Demi
NimbusRomNo9L-ReguItal URWGothicL-DemiObli
NimbusSanL-Bold URWPalladioL-Bold
NimbusSanL-BoldCond URWPalladioL-BoldItal
NimbusSanL-BoldCondItal URWPalladioL-Ital
NimbusSanL-BoldItal URWPalladioL-Roma
NimbusSanL-Regu
}}}
--
Ticket URL: <https://trac.macports.org/ticket/42395>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list