Ubuntu LaTeX; change fonts of xdvi preview

Posted On August 10, 2008

Filed under LaTeX, Ubuntu
Tags: ,

Comments Dropped leave a response

#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.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s