Ghostscript 9.10을 사용하여 pdf 문서를 tiff로 변환하려고합니다. pdf에는 TrueType (CID) Arial 및 Calibri 글꼴이 포함되어 있습니다.글꼴이 고스트 스크립트에 올바르게 매핑되지 않았습니다.
내가 사용하고 명령 줄은 다음
gswin32.exe -dSAFER -dBATCH -r200 -sDEVICE= tifflzw -sOutputFile=d:\temp\tmp.tiff D:\Temp\test.pdf
을 변환에 성공하지만, 돋움 부분이 나오는 난도질 나는이 (가) cidfmap에 다음의 서로 다른 조합을 추가하는 시도
:
를/Calibri << /Path (c:/windows/Fonts/Calibri.ttf) /SubfontID 0 /FileType /TrueType /CSI [(Identity-H) 0] >> ;
/Calibri << /Path (c:/windows/Fonts/Calibri.ttf) /SubfontID 0 /FileType /TrueType /CSI [(Unicode) 0] >> ;
/Calibri << /Path (c:/windows/Fonts/Calibri.ttf) /SubfontID 0 /FileType /TrueType /CSI [(Identity) 0] >> ;
그러나 cidfmap에 대한 변경 사항으로 명령을 실행하면 다음과 같은 메시지가 표시됩니다.
**** Warning: can't process font stream, loading font by the name.
**** Error reading a content stream. The page may be incomplete.
**** File did not complete the page properly and may be damaged.
임베디드 arial 글꼴은 문제없이 처리되며 tiff에서 올바르게 출력됩니다.
Can't find CID font "Arial".
Attempting to substitute CID font /Adobe-Identity for /Arial, see doc/Use.htm#CI
DFontSubstitution.
The substitute CID font "Adobe-Identity" is not provided either. attempting to u
se fallback CIDFont.See doc/Use.htm#CIDFontSubstitution.
Loading a TT font from %rom%Resource/CIDFSubst/DroidSansFallback.ttf to emulate
a CID font Adobe-Identity ... Done.
아무도 내재 된 calibri 글꼴을 어떻게 다룰 생각이 있습니까?
여기서 cidfmap 파일은 windows에 있습니까? – klaxon
FWIW GS 9.15에서 이와 같은 오류 메시지가 많이 발생했지만 9.20과 함께 사라진 것처럼 보였습니다 ... 9.20의 특정 pdf에서 더 잘 작동합니다. – rogerdpack