PDF does not display characters or display box solution

Transfer from: http: //hi.baidu.com/huleyin/blog/item/18fdd6dc9ea16c1c62279856.html

1. Data-mounted in poppler

APT-GET-Data in poppler the install

2. Edit as /etc/fonts/conf.d/49-sansserif.conf
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<!--
If the font still has no generic name, add sans-serif
-->
<match target="pattern">
<test qual="all" name="family" compare="not_eq">
<string>sans-serif</string>
</test>
<test qual="all" name="family" compare="not_eq">
<string>serif</string>
</test>
<test qual="all" name="family" compare="not_eq">
<string>monospace</string>
</test>
<edit name="family" mode="append_last">
<!--    <string>sans-serif</string> -->
<string>宋体</string>
</edit>
</match>
</fontconfig>


I would like to modify the red part of the font used


OK!


Reproduced in: https: //my.oschina.net/dake/blog/196797

Guess you like

Origin blog.csdn.net/weixin_33850015/article/details/91586379