[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Fontprobleme mit Ghostscript



Hallo allerseits,

Seit dem Update auf Wheezy hab' ich ein merkwürdiges Problem mit Ghostscript:
Postscriptdateien, die mit LaTeX und dvips erstellt wurden, liefern
Fehlermeldungen, wenn ich sie anzeigen lassen will, beispielsweise sowas:

GPL Ghostscript 9.05 (2012-02-08)
Copyright (C) 2010 Artifex Software, Inc.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Warning: the map file cidfmap was not found.
Loading URWGothicL-Book font
from /usr/share/ghostscript/9.05/Resource/Font/URWGothicL-Book...
Error: /invalidaccess in /findfont Operand stack: AvantGarde-Book
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   1893   1   3   %oparray_pop   1787   1   3   %
oparray_pop   --nostringval--   %errorexec_pop   .runexec2   --nostringval--
--nostringval--   --nostringval--   2   %stopped_push   --nostringval--
1868   1   3   %oparray_pop Dictionary stack:
   --dict:1160/1684(ro)(G)--   --dict:0/20(G)--   --dict:78/200(L)--
Current allocation mode is local
Current file position is 2091
GPL Ghostscript 9.05: Unrecoverable error, exit code 1

Nachdem ich alles überflüssige aus der Datei rausgeschmissen hab' konnte ich
zumindest feststellen, dass es daran liegt, dass /StandardEncoding neu
definiert wird (wobei die neue Definition sich nicht von der
Standarddefinition unterscheidet) - das liefert mir zumindest einen
(temporären) Workaround, indem ich die Neudefinition rausschmeiße. Es könnte
nun natürlich sein, dass in gs ein Fehler vorliegt, ich vermute aber eher,
dass es mit fehlkonfigurierten Fontpfaden zusammenhängt.

Merkwürdig ist nämlich, dass auf die in der Fehlermeldung genannte Datei 
/usr/share/ghostscript/9.05/Resource/Font/URWGothicL-Book nicht zugegriffen
wird, wie ich mit ls -l --time=atime herausgefunden habe.

gs -h liefert:

GPL Ghostscript 9.05 (2012-02-08)
[...]
Search path:
   /usr/share/ghostscript/9.05/Resource/Init :
   /usr/share/ghostscript/9.05/lib :
   /usr/share/ghostscript/9.05/Resource/Font :
   /usr/share/ghostscript/fonts : /var/lib/ghostscript/fonts :
   /usr/share/cups/fonts : /usr/share/ghostscript/fonts :
   /usr/local/lib/ghostscript/fonts : /usr/share/fonts
[...]

Ich habe auch schon dpkg-reconfigure ghostscript und dpkg-reconfigure gsfonts
versucht, und auch die beiden Pakete komplett rausgeschmissen und wieder neu
installiert. Hat alles nichts genutzt. Einziger Unterschied, den ich
feststellen konnte: Davor stand in der Fehlermeldung statt

Loading URWGothicL-Book font
from /usr/share/ghostscript/9.05/Resource/Font/URWGothicL-Book...

Loading URWGothicL-Book font
/usr/share/fonts/type1/gsfonts/a010013l.pfb...

Letztere Datei steht auch in /etc/ghostscript/fontmap.d/10gsfonts.conf

Jemand eine Idee, woran das alles liegt und was ich noch machen könnte, um das
Problem (der oben genannte Workaround ist ja keine Dauerlösung) zu beheben?

Grüßle, Berni

-- 
-- Meine Arbeit: www.croco-puzzle.com
-- Mein Blog: www.zeithaben.org
-- Meine Hoffnung: www.hilden-im-wandel.de


Reply to: