Ubuntu; embed fonts on dvipdfm or dvipdfmx

Posted On November 1, 2008

Filed under Ubuntu
Tags: ,

Comments Dropped leave a response

Example: Embed IPAfonts

Put Symbolic links where mktexlsr can search
$ sudo mkdir -p /usr/share/texmf/fonts/truetype/
$ cd /usr/share/texmf/fonts/truetype/
$ ln -s /usr/share/fonts/truetype/ipafont/ipam.ttf .
$ ln -s /usr/share/fonts/truetype/ipafont/ipag.ttf .
$ sudo mktexlsr

Change maps

$ sudo gedit /etc/texmf/dvipdfm/jis-cjk.map

%% for jis fonts of ptex-jisfonts
rml-jis H :0:ipam.ttf
gbm-jis H :0:ipag.ttf
rml H :0:ipam.ttf
gbm H :0:ipag.ttf
rmlv V :0:ipam.ttf
gbmv V :0:ipag.ttf

Citation(JP):
http://www10.atwiki.jp/shirayuu/pages/16.html

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