Ubuntu Dapper on External USB Drive

在Ubuntu 6.0.4 (Dapper Drake)下,中文粗体已经不需要额外打补丁了。OpenOffice的中文显示也正常。

另外,将linux安装在usb硬盘上也是很有趣的一件事

相关文档

中文字体的配置文件 /etc/fonts/local.conf

<fontconfig>
    <match target="font">
        <!-- check to see if the font is just regular -->
        <test name="weight" compare="less_eq">
            <int>100</int>
        </test>
        <!-- check to see if the pattern requests bold -->
        <test target="pattern" name="weight" compare="more_eq">
            <int>180</int>
        </test>
        <!-- set the embolden flag -->
        <edit name="embolden" mode="assign">
            <bool>true</bool>
        </edit>
    </match>
    <match target="font" >
        <test name="family" qual="any" >
            <string>SimSun</string>
            <string>SimHei</string>
            <string>NSimSun</string>
            <string>MingLiU</string>
            <string>宋体</string>
            <string>黑体</string>
        </test>
        <test name="pixelsize" compare="more">
            <double>11</double>
        </test>
        <test name="pixelsize" compare="less">
            <double>16</double>
        </test>
        <edit mode="assign" name="antialias" >
            <bool>false</bool>
        </edit>
        <edit name="globaladvance" mode="assign">
            <bool>false</bool>
        </edit>
    </match>
</fontconfig>