Ghostscript Bug Reportから取得:
まず、cidfmap ファイルを編集して、次の行を追加しようとしました。
/Arial-BoldMT << /FileType /TrueType /Path
(C:/WINDOWS/Fonts/ARIALBD.TTF) /SubfontID 0 /CSI [(Unicode) 0] >> ;
/Arial-ItalicMT << /FileType /TrueType /Path
(C:/WINDOWS/Fonts/ARIALI.TTF) /SubfontID 0 /CSI [(Unicode) 0] >> ;
/ArialMT << /FileType /TrueType /Path
(C:/WINDOWS/Fonts/arial.ttf) /SubfontID 0 /CSI [(Unicode) 0] >> ;
/TimesNewRomanPSMT << /FileType /TrueType /Path
(C:/WINDOWS/Fonts/timesi.ttf) /SubfontID 0 /CSI [(Unicode) 0] >> ;
これにより、ドキュメントを正しくレンダリングできますが、シンボルが読み取れませんでした。エンコード設定を試してみましたが、うまくいかず、同じ読み取り不能なシンボルが表示されました。
次に、小さな辞書を定義します。
/tempfontsdict 1 dict def tempfontsdict
begin
/Arial-BoldMT (C:/WINDOWS/Fonts/ARIALBD.TTF) def
/Arial-ItalicMT (C:/WINDOWS/Fonts/ARIALI.TTF) def
/ArialMT (C:/WINDOWS/Fonts/arial.ttf) def
/TimesNewRomanPSMT (C:/WINDOWS/Fonts/timesi.ttf) def
End
そしてpdf_font.psを変更しました:
dup /FontFile knownoget not {
dup /FontFile2 knownoget not {
dup /FontFile3 knownoget not {
%//null
+ dup /FontName get
+ /tempFontName exch def
+ tempfontsdict tempFontName known {
+ dup /FontName get (Custom font change:)
print ==
+ tempfontsdict tempFontName get
+ /tempFontFile exch def
+ dup /FontFile3 << /F tempFontFile >>
put
+ dup /FontFile3 get
+ } {
+ //null
+ } ifelse
} if
} if
} if
これで問題は解決しましたが、問題の適切な解決策とは思えません。