#navi(FAQ) カテゴリー: ウィンドウシステム

FAQ/23の指定をして Mozilla などでは msgothic 等が使われるようになりましたが、ghostscript の出力は変わりません。

2010-06-05 (土) 23:03:52投稿
登録者: Plamodocs Project

ghostscript のフォントの指定は /usr/share/ghostscript/7.07/lib/CIDFnmap で行います。

具体的には、以下のパッチのように CIDFnmap.Win と CIDFnmap.CJK の部分のコメント(%) を外し、/Kochi-{Mincho,Gothic} が ms{mincho,gothic}.ttc を指すようにします。

--- CIDFnmap    2005-03-17 23:34:27.000000000 +0900
*************** [#bddb8a94]
*** 140,148 **** [#n0d36188]
  %(CIDFnmap.Bae) .runlibfile
  %(CIDFnmap.Koc) .runlibfile
  %(CIDFnmap.Sol) .runlibfile
! %(CIDFnmap.Win) .runlibfile
  
! %(CIDFnmap.CJK) .runlibfile
  
  % native CIDFontName (BIG5) in traditional Chinese
  %(CIDFnmap.b5) .runlibfile
--- 140,148 ----
  %(CIDFnmap.Bae) .runlibfile
  %(CIDFnmap.Koc) .runlibfile
  %(CIDFnmap.Sol) .runlibfile
! (CIDFnmap.Win) .runlibfile
  
! (CIDFnmap.CJK) .runlibfile
  
  % native CIDFontName (BIG5) in traditional Chinese
  %(CIDFnmap.b5) .runlibfile
*************** [#f53470b8]
*** 151,163 **** [#a36b18ee]
  %(CIDFnmap.gb) .runlibfile
  
  % native CIDFontName (Shift_JIS) in Japanese
! %(CIDFnmap.sj) .runlibfile
  
  % native CIDFontName (euc-kr) in Korean
  %(CIDFnmap.ksx) .runlibfile
  
! /Kochi-Mincho      (FS-Mincho-gs.ttf) ;
! /Kochi-Gothic      (FS-Gothic-gs.ttf) ;
  
  /Ryumin-Light      /Kochi-Mincho ;
  /GothicBBB-Medium  /Kochi-Gothic ;
--- 151,165 ----
  %(CIDFnmap.gb) .runlibfile
  
  % native CIDFontName (Shift_JIS) in Japanese
! (CIDFnmap.sj) .runlibfile
  
  % native CIDFontName (euc-kr) in Korean
  %(CIDFnmap.ksx) .runlibfile
  
! /Kochi-Mincho      (msmincho.ttc) ;
! %/Kochi-Mincho      (FS-Mincho-gs.ttf) ;
! /Kochi-Gothic      (msgothic.ttc) ;
! %/Kochi-Gothic      (FS-Gothic-gs.ttf) ;
  
  /Ryumin-Light      /Kochi-Mincho ;
  /GothicBBB-Medium  /Kochi-Gothic ; 

この件に関して追加情報などありましたら、以下にどうぞ;




トップ   編集 凍結 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2021-12-17 (金) 16:35:40