请教各位老大:怎样才能让我的字体出现粗、斜体的效果
我用ubuntu,由warty 升级到hoary。我的中文字体有:
SimSun SimHei PMingLiU 3n做的四种圆体
firefly 的补丁我也不想打
我想用 SimHei 或者用 3n 做的圆体来实现粗体的效果。
斜体需不需要再安装什么字体?看到有大大用楷体来实现,但我不喜欢。
不知道我的local.conf 要怎么改才能满足我的条件?
下面是我的local.conf。fonts.conf 没有改。
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<include ignore_missing="yes">/var/lib/defoma/fontconfig.d/fonts.conf</include>
<!-- Uncomment below to enable bitmapped fonts -->
<!--
<dir>/usr/X11R6/lib/X11/fonts</dir>
<dir>/usr/share/fonts/truetype</dir>
-->
<!-- Uncomment below to enable subpixel rendering -->
<!--
<match target="font">
<test qual="all" name="rgba">
<const>unknown</const>
</test>
<edit name="rgba" mode="assign"><const>rgb</const></edit>
</match>
-->
<!-- Uncomment below to enable the freetype autohinter module -->
<!--
<match target="font">
<edit name="autohint" mode="assign">
<bool>true</bool>
</edit>
</match>
-->
<!-- Disable font alias for Chinese 12-16 -->
<match target="font">
<test qual="any" name="family" compare="eq">
<string>SimSun</string>
<string>SimHei</string>
</test>
<test name="pixelsize" compare="more_eq">
<double>12</double>
</test>
<test name="pixelsize" compare="less_eq">
<double>16</double>
</test>
<edit name="antialias">
<bool>false</bool>
</edit>
</match>
<alias>
<family>DejaVu Serif</family>
<family>Bitstream Vera Sans Mono</family>
<prefer>
<family>SimSun</family>
</prefer>
</alias>
<alias>
<family>SimSun</family>
<default>
<family>sans-serif</family>
<family>serif</family>
<family>monospace</family>
</default>
</alias>
<match target="pattern">
<test qual="any" name="family">
<string>serif</string>
</test>
<edit name="family" mode="append" binding="strong">
<string>DejaVu Serif</string>
<string>Bitstream Vera Serif</string>
</edit>
</match>
<match target="pattern">
<test qual="any" name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="append" binding="strong">
<string>DejaVu Serif</string>
<string>Bitstream Vera Sans</string>
</edit>
</match>
<match target="pattern">
<test qual="any" name="family">
<string>monospace</string>
</test>
<edit name="family" mode="append" binding="strong">
<string>DejaVu Serif</string>
<string>Bitstream Vera Sans Mono</string>
</edit>
</match>
<alias>
<family>serif</family>
<prefer>
<family>DejaVu Serif</family>
<family>Bitstream Vera Serif</family>
<family>SimSun</family>
</prefer>
</alias>
<alias>
<family>sans-serif</family>
<prefer>
<family>DejaVu Serif</family>
<family>Bitstream Vera Sans</family>
<family>SimSun</family>
</prefer>
</alias>
<alias>
<family>monospace</family>
<prefer>
<family>DejaVu Serif</family>
<family>Bitstream Vera Sans Mono</family>
<family>SimSun</family>
</prefer>
</alias>
</fontconfig>
如果你喜欢AA的字体,我这里有个修改过的方正黑体(gbk字符集),带粗体的,只有选一个带斜体的英文字体就有斜体 ftp://ftp.321211.net/upload/fudaming_fonts/
http://linuxfans.org/nuke/modules.php?name=Forums&file=viewtopic&t=102383&highlight=
页:
[1]