Ubuntu LaTeX; change fonts of xdvi preview
#sudo gedit /etc/texmf/vfontmap.d/20ptex-jisfonts.map
### For ptex-jisfonts
/usr/share/fonts/truetype/kochi/kochi-mincho.ttf
rml-jis JIS-H
/usr/share/fonts/truetype/kochi/kochi-gothic.ttf
gbm-jis JIS-H
to
### For ptex-jisfonts
@Mincho Roman|Mincho@
rml-jis JIS-H
@Gothic SansSerif|Gothic@
gbm-jis JIS-H
#cd /etc/defoma/hints/
#sudo defoma-font register-all ipamonafont.hints
#sudo update-vfontmap
#sudo gedit /etc/defoma/hints/ipamonafont.hints
search “begin /usr/share/fonts/truetype/ipamona/ipag-mona.ttf” category, then add
Alias = GothicBBB-Medium
and change the “Priority” value to 60.
search “begin /usr/share/fonts/truetype/ipamona/ipam-mona.ttf”category, then add
Alias = Ryumin-Light
and change the “Priority” value to 60.
#sudo defoma-font reregister-all ipamonafont.hints
#sudo update-vfontmap
citation(JP);
https://wiki.ubuntulinux.jp/JapaneseLocalizedDerivative/LaTeXForJapanese
http://as-is.net/blog/archives/001263.html
Edit;
In Ubuntu 8.10, ipamonafont.hints may be ttf-ipamonafont.hints.
Ubuntu 8.10 has IPAFonts, so it would be better to change ttf-ipafont.hints instead of ttf-ipamonafont.honts.
Leave a comment