2012-09-15 2 views
0

ghostscript 또는 시스템의 글꼴에 문제가 있습니다. 내가 PDF로 PS 파일을 변환하는 시도 무엇 페도라 17을 사용하고 http://krajniak.info/tmp/intro.ps 불행하게도 내가 무엇을 가지고하는 것입니다 : Ghostscript가 잘못된 글꼴 오류

Error: /invalidfont in /findfont 
Operand stack: 
    Symbol-Oblique Symbol 
Execution stack: 
    %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1894 1 3 %oparray_pop 1893 1 3 %oparray_pop --nostringval-- 1877 1 3 %oparray_pop 1771 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- 1852 2 4 %oparray_pop 
Dictionary stack: 
    --dict:1160/1684(ro)(G)-- --dict:0/20(G)-- --dict:82/200(L)-- --dict:174/256(L)-- 
Current allocation mode is local 
Last OS error: 2 
Current file position is 15269 
GPL Ghostscript 9.05: Unrecoverable error, exit code 1 

나는이 파일을 displaing과 같은 오류가 있습니다 명시하다의 intro.ps

[[email protected] graphs]$ evince intro.ps 
invalidfont -10 
invalidfont -10 

(evince:5621): EvinceDocument-CRITICAL **: ev_document_misc_pixbuf_from_surface: assertion `surface' failed 

(evince:5621): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed 
invalidfont -10 

(evince:5621): EvinceDocument-CRITICAL **: ev_document_misc_pixbuf_from_surface: assertion `surface' failed 

(evince:5621): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed 
invalidfont -10 

나는 /etc/fonts/infinality/infinality.conf에서 "Type 1"글꼴을 활성화하고 있지만 결과는 출력하지 않고 freetype-infinality를 제거하려고했습니다. GS -v의

결과 :

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 : /usr/share/fonts/default/ghostscript : 
    /usr/share/fonts/default/Type1 : /usr/share/fonts/default/amspsfnt/pfb : 
    /usr/share/fonts/default/cmpsfont/pfb : /usr/share/fonts : 
    /usr/share/ghostscript/conf.d : /etc/ghostscript : 
    /etc/ghostscript/9.05 : /usr/share/poppler/cMap/Adobe-CNS1 : 
    /usr/share/poppler/cMap/Adobe-GB1 : 
    /usr/share/poppler/cMap/Adobe-Japan1 : 
    /usr/share/poppler/cMap/Adobe-Japan2 : 
    /usr/share/poppler/cMap/Adobe-Korea1 

모든 tex- {글꼴}과 wine- {글꼴}, 다음 고스트 스크립트를 다시 설치 간단한 제거를 해결. 현재 내/usr/share/fonts에는 다음과 같은 폴더가 있습니다.

abattis-cantarell 
cjkuni-uming 
default 
dejavu 
google-droid 
jomolhari 
jsmath-fonts 
khmeros 
liberation 
lklug 
lohit-assamese 
lohit-bengali 
lohit-devanagari 
lohit-gujarati 
lohit-kannada 
lohit-oriya 
lohit-punjabi 
lohit-tamil 
lohit-telugu 
nhn-nanum 
opensymbol 
paktype-naqsh 
paratype-pt-sans 
sil-abyssinica 
sil-padauk 
smc 
stix 
thai-scalable 
vlgothic 
wqy-zenhei 

아마도 누군가 내가 제안해야 할 것이 있습니다. 안녕하세요.

+0

이것은 [오프 스택 오버플로 주제] (http://stackoverflow.com/faq#questions)입니다. [Unix.SE] (http://unix.stackexchange.com) 또는 [Super User] (http://superuser.com)에서 질문 할 수 있습니다 (단, 먼저 검색하십시오!). –

답변

1

Symbol 글꼴이 유효하지 않습니다. 또한 Ghostscript가 기본 제공 글꼴 (및 ROM 파일 시스템)을 사용하지 않고 시스템 글꼴을 독점적으로 또는 우선적으로 사용하는 것으로 보입니다.

내 Ghostscript 사본은 GS와 함께 제공되며 ROM 파일 시스템에 내장 된 글꼴을 사용하며 파일은 완벽하게 작동합니다.