Lattice Multivariate Data Visualization with R
/etc/defoma/hints/ttf-kochi-gothic.hints , /etc/defoma/hints/ttf-kochi-mincho.hints
にそれぞれ
Alias = GothicBBB-Medium Alias = Ryumin-Light
を追記して,
sudo defoma-font reregister-all ttf-kochi-gothic.hints sudo defoma-font reregister-all ttf-kochi-mincho.hints
などを実行した.もっとも Defoma からは
W: /usr/share/fonts/truetype/kochi/kochi-gothic-subst.ttf: already registered in category truetype.
W: /usr/share/fonts/truetype/kochi/kochi-mincho-subst.ttf: already registered in category truetype.
と冷たい反応があっただけで効果無し.さらに cidfmapの末尾に
(/var/lib/defoma/gs.d/dirs/fonts/cidfmap) .runlibfile
を追加するが,なお効果無し.
gs-cjk-resource cmap-adobe-japan2これでps2pdfが通った.ただ,いずれにせよ ghostscript と defoma の関係が分からん.ここなど参考にする.
$ ps2pdf14 joho1_tmp.ps joho1_tmp.pdf Error: /undefinedresource in findresource Operand stack: Ryumin-Light-Bold basefont-H .basefont-H Identity-H
はいはい修正します.しかしUbuntu8.10にはcidfmapが二つあるのでややこしい。
NSString * str = [NSString alloc];// Object-C
String * str = new String;// C++
$ sudo apt-get install netpbm $ sudo apt-get install epstool