Lyxでbeamer

→dviからdvipdfmxでpdfをつくるとうまくいかない(未だ原因不明)

→dviからpdvips, ps2pdfだとうまくいく

→しかし,psが日本語文字化け

→どうやらgsが原因ぽい

→たぶん,/usr/share/ghostscript/8.70/Resource/Init/cidfmapを編集すれば良いみたい

→そうだった(問題解決)

gsのエラーメッセージ

GPL Ghostscript 8.70 (2009-07-31)
Copyright (C) 2009 Artifex Software, Inc.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Can't find (or can't open) font file /usr/share/ghostscript/8.70/Resource/Font/GothicBBB-Medium-H.
Can't find (or can't open) font file GothicBBB-Medium-H.
Querying operating system for font files...
Can't find (or can't open) font file /usr/share/ghostscript/8.70/Resource/Font/GothicBBB-Medium-H.
Can't find (or can't open) font file GothicBBB-Medium-H.
Didn't find this font on the system!
Substituting font Courier for GothicBBB-Medium-H.
Loading NimbusMonL-Regu font from /usr/share/fonts/Type1/n022003l.pfb... 2607872 1137979 7363256 5981270 1 done.
Can't find (or can't open) font file /usr/share/ghostscript/8.70/Resource/Font/Ryumin-Light-H.
Can't find (or can't open) font file Ryumin-Light-H.
Didn't find this font on the system!
Substituting font Courier for Ryumin-Light-H.
>>showpage, press <return> to continue<<

cidfmapに追加したもの.

/IPAMincho		<< /FileType /TrueType /Path (/usr/share/fonts/TTF/ipam.ttf) /CSI [(Japan1) 6] >> ;
/IPAGothic		<< /FileType /TrueType /Path (/usr/share/fonts/TTF/ipag.ttf) /CSI [(Japan1) 6] >> ;
/Ryumin-Light	   	/IPAMincho
/GothicBBB-Medium	/IPAGothic

めでたく,dvipdfmx, ps2pdf どちらでも tex を pdf にできるようになったのだが,

できたpdfのフォントが違う.ps2pdfはフォントが細くて見難い.なぜ?

追記

このままだと ghostscript のアップデートでcidfmapが上書きされるので,

/etc/pacman.confに

NoUpgrade   = usr/share/ghostscript/8.70/Resource/Init/cidfmap

を追加.

参考

Ghostscript関係 – RとLinuxと…

[ubuntu-jp:1403] Re: dvipsで文字化けする

Ghostscript 8.xx の編集 – TeX Wiki

ページが見つかりません:@nifty