zoukankan      html  css  js  c++  java
  • Ubuntu 9.04中PDF文档出现方框

    在终端输入

    sudo gedit /etc/fonts/conf.d/69-language-selector-zh-cn.conf

    修改69-language-selector-zh-cn.conf文件如下:

    <fontconfig>
    <match target="pattern">
    <test qual="any" name="family">
    <string>serif</string>
    </test>
    <edit name="family" mode="prepend" binding="strong">
    <string>DejaVu Serif</string>
    <string>AR PL UMing CN</string>
    <string>AR PL UKai CN</string>
    <string>AR PL ZenKai Uni</string>
    <string>AR PL ShanHeiSun Uni</string>
    <string>Bitstream Vera Serif</string>
    <string>WenQuanYi Bitmap Song</string>
    </edit>
    </match>
    <match target="pattern">
    <test qual="any" name="family">
    <string>sans-serif</string>
    </test>
    <edit name="family" mode="prepend" binding="strong">
    <string>WenQuanYi Bitmap Song</string>
    <string>AR PL UMing CN</string>
    <string>AR PL UKai CN</string>
    <string>AR PL ZenKai Uni</string>
    <string>WenQuanYi Zen Hei</string>
    <string>Bitstream Vera Sans</string>
    <string>AR PL ShanHeiSun Uni</string>
    <string>DejaVu Sans</string>
    </edit>
    </match>
    <match target="pattern">
    <test qual="any" name="family">
    <string>monospace</string>
    </test>
    <edit name="family" mode="prepend" binding="strong">
    <string>DejaVu Sans Mono</string>
    <string>Bitstream Vera Sans Mono</string>
    <string>WenQuanYi Bitmap Song</string>
    <string>AR PL UMing CN</string>
    <string>AR PL UKai CN</string>
    <string>AR PL ZenKai Uni</string>
    <string>WenQuanYi Zen Hei</string>
    <string>AR PL ShanHeiSun Uni</string>
    </edit>
    </match>
    </fontconfig> 

    一定要做完第二步,不然还是会出现方框的问题,

    把第二个大项中的第一项改成WenQuanYi Bitmap Song

    我的机子上是改成是WenQuanYi Micro Hei,这样就行拉,谢谢原作者提供的这么好的方法。
  • 相关阅读:
    ARPPING
    Oracle RAC 连接
    Win7 DCOM 配置中我的电脑出现红色箭头并且无属性显示的解决方法
    Ping命令
    Linux & Oracle 安装目录说明
    TCP 四次握手
    wireshark使用
    jcaptcha组件小小改造解决Invalid ID, could not validate une
    JustSniffer
    java 自己定义异常,记录日志简单说明!留着以后真接复制
  • 原文地址:https://www.cnblogs.com/bayonetxxx/p/1905333.html
Copyright © 2011-2022 走看看