Terminalから、
sudo apt-get install poppler-data以上で、Document Viewerにて日本語のpdfが表示可能になる。
この状態だと日本語はすべて同じフォント("VLゴシック")での表示になる。
それが気に入らなければ、IPAフォントをインストールしたうえで、
"~/.fonts.conf"ファイル(無ければ作成する)に以下のように記述する。
すると、"Ryumin"フォントと"GothicBBB Midium Identity H"フォントがそれぞれ"IPAMincho","IPAGothic"での表示になる。
<fontconfig>
<match target="pattern">
<test qual="any" name="family">
<string>Ryumin</string>
</test>
<edit name="family" mode="prepend" binding="strong">
<string>IPAMincho</string>
</edit>
</match>
<match target="pattern">
<test qual="any" name="family">
<string>GothicBBB Midium Identity H</string>
</test>
<edit name="family" mode="prepend" binding="strong">
<string>IPAGothic</string>
</edit>
</match>
</fontconfig>
0 件のコメント:
コメントを投稿