LoginSignup
4
8

More than 5 years have passed since last update.

Amazon LinuxにIPAフォントをインストールして、Ghostscriptのcidfmapに登録する

Posted at

IPAフォントとは

インストール

$ yum install -y ipa-gothic-fonts
$ yum install -y ipa-mincho-fonts

フォントを設定する

$ vi /etc/ghostscript/<バージョン>/cidfmap.local
cidfmap.local
/IPAMincho     << /FileType /TrueType /Path (/usr/share/fonts/ipa-mincho/ipam.ttf) /CSI [(Japan1) 6] >> ;
/IPAGothic     << /FileType /TrueType /Path (/usr/share/fonts/ipa-gothic/ipag.ttf) /CSI [(Japan1) 6] >> ;

/Ryumin-Light /IPAMincho ;
/Ryumin-Medium /IPAMincho ;
/GothicBBB-Medium /IPAGothic ;
/HeiseiKakuGo-W5 /IPAGothic ;
/HeiseiMin-W3 /IPAMincho ;
/MSGothic /IPAGothic ;
/MSMincho /IPAMincho ;

4
8
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
8