如何配置 fonts.conf 替换已经存在的字体?
比如 Times 这个位图字体,很多网站都用它,但是效果却不如 AA 后的 Nimbus Roman No9 L 或者 Century Schoolbook L。所以我想在 fonts.conf 里把它替换掉。但是<alias>
<family>Times</family>
<prefer>
<family>Nimbus Roman No9 L</family>
<family>Century Schoolbook L</family>
</prefer>
<default><family>Times New Roman</family></default>
</alias>
不起作用。运行 fc-match Times 后的结果:
timR12-ISO8859-1.pcf.gz: "Times" "Regular"
timR12.pcf.gz: "Times" "Regular"
simsun.ttc: "宋体" "Regular"
n021003l.pfb: "Nimbus Roman No9 L" "Regular"
c059013l.pfb: "Century Schoolbook L" "Roman"
DejaVuSerif.ttf: "DejaVu Serif" "Book"
times.ttf: "Times New Roman" "Regular"
simsunb.ttf: "SimSun-ExtB" "Regular"
sursong.ttf: "宋体-方正超大字符集" "Regular"
mingliu.ttc: "細明體" "Regular"
好像要把pcf字体也加入到fonts.conf中,记得以前在某个发行版上看到过 学习了 。
页:
[1]