|
楼主 |
发表于 2007-6-4 18:50:35
|
显示全部楼层
Post by 晨想
herberteuler,修改后,你的输出是什么?
fc-match 'sans serif' -v 下面的命令说明了设置之前和之后 fc-match 的输出:
- herbert@herbert-euler:~$ cat .fonts.conf
- <?xml version="1.0"?>
- <fontconfig>
- <match target="pattern">
- <test qual="any" name="family">
- <string>sans-serif</string>
- </test>
- <edit name="lang" mode="assign">
- <string>en</string>
- </edit>
- </match>
- </fontconfig>
- herbert@herbert-euler:~$ fc-match 'sans serif' -v
- Pattern has 27 elts (size 32)
- family: "Bitstream Vera Sans"(s)
- familylang: "en"(s)
- style: "Roman"(s)
- stylelang: "en"(s)
- slant: 0(i)(s)
- weight: 80(i)(s)
- width: 100(i)(s)
- size: 12(f)(s)
- pixelsize: 12.5(f)(s)
- foundry: "bitstream"(s)
- hintstyle: 3(i)(s)
- hinting: FcTrue(s)
- verticallayout: FcFalse(s)
- autohint: FcFalse(s)
- globaladvance: FcTrue(s)
- file: "/var/lib/defoma/fontconfig.d/B/Bitstream-Vera-Sans.ttf"(s)
- index: 0(i)(s)
- outline: FcTrue(s)
- scalable: FcTrue(s)
- dpi: 75(f)(s)
- scale: 1(f)(s)
- charset: 0000: 00000000 ffffffff ffffffff 7fffffff 00000000 ffffffff ffffffff ffffffff
- 0001: c00230c0 00030000 c00c0006 61000003 00040000 00000000 00000000 00000000
- 0002: 00000000 00000000 00000000 00000000 00000000 00000000 3f0000c0 00000000
- 0003: 00000000 00000000 00000000 00000000 00000000 00000200 00000001 00000000
- 0020: 77180000 06010047 00000010 00000000 00000000 00001000 00000000 00000000
- 0021: 00000000 00000004 00000000 00000000 00000000 00000000 00000000 00000000
- 0022: 46268044 00000800 00000100 00000031 00000000 00000000 00000000 00000000
- 0025: 00000000 00000000 00000000 00000000 00000000 00000000 00000400 00000000
- 00fb: 00000006 00000000 00000000 00000000 00000000 00000000 00000000 00000000
- (s)
- lang: aa|ast|ay|bi|br|ch|co|da|de|en|es|et|eu|fi|fj|fo|fr|fur|fy|gd|gl|gv|ho|ia|id|ie|io|is|it|lb|mg|nb|nds|nl|nn|no|oc|om|pt|rm|sma|smj|so|sq|sv|sw|tn|tr|ts|vo|vot|wa|xh|yap|zu(s)
- fontversion: 131072(i)(s)
- fontformat: "TrueType"(s)
- embeddedbitmap: FcTrue(s)
- decorative: FcFalse(s)
- herbert@herbert-euler:~$ mv .fonts.conf _fonts.conf
- herbert@herbert-euler:~$ fc-match 'sans serif' -v
- Pattern has 32 elts (size 48)
- family: "AR PL ShanHeiSun Uni"(s)
- familylang: "zh-tw"(s)
- style: "Regular"(s)
- stylelang: "en"(s)
- slant: 2(i)(w)
- weight: 1(i)(w)
- width: 100(i)(s)
- size: 12(f)(s)
- pixelsize: 12.5(f)(s)
- spacing: 0(i)(w)
- foundry: "unknown"(s)
- antialias: FcFalse(w)
- hintstyle: 3(i)(s)
- hinting: FcTrue(w)
- verticallayout: FcFalse(w)
- autohint: FcFalse(w)
- globaladvance: FcFalse(w)
- file: "/var/lib/defoma/fontconfig.d/S/ShanHeiSun-Uni.ttf"(s)
- index: 0(i)(s)
- outline: FcTrue(s)
- scalable: FcTrue(s)
- dpi: 75(f)(s)
- scale: 1(f)(s)
- minspace: FcFalse(w)
- charset: 0000: 00000001 ffffffff ffffffff 7fffffff 00000000 ffffffff ffffffff ffffffff
- # 此处略去很多行。。。。。。。
- 0f05: 00000003 00000000 00000000 00000000 00000000 00000000 00000000 00000000
- (s)
- lang: "hak"(w)
- fontversion: 6553(i)(s)
- capability: "otlayout:DFLT otlayout:hani otlayout:latn"(s)
- fontformat: "TrueType"(s)
- embolden: FcFalse(w)
- embeddedbitmap: FcTrue(s)
- decorative: FcFalse(s)
- herbert@herbert-euler:~$
复制代码 |
|