On Tue, 2007-10-30 at 05:55 +0800, [EMAIL PROTECTED] wrote: > edit-> preferences->Content->Fonts & Colors->Advanced > KP> It's probably just set to 'Sans Serif', in which case running > Indeed, I see a lot of Sans Serif in there. I can even > $ grep something ~/.mozilla/firefox/*/some_file if you wish. > KP> $ fc-match 'Sans Serif' > KP> on each version of fontconfig will suffice to show the difference. > # fc-match 'Sans Serif' > GBZenKai-Medium.ttf: "AR PL KaitiM GB" "Regular" > # dpkg -i fontconfig_2.4.91-1_i386.deb > Preparing to replace fontconfig 2.4.2-1.2 (using fontconfig_2.4.91-1_i386.deb) > # fc-match 'Sans Serif' > bkai00mp.ttf: "AR PL KaitiM Big5" "Regular" > # dpkg -i fontconfig_2.4.2-1.4_i386.deb > dpkg - warning: downgrading fontconfig from 2.4.91-1 to 2.4.2-1.4. > # fc-match 'Sans Serif' > ZenKai-Medium.ttf: "AR PL KaitiM Big5" "Regular"
Looks like your locale doesn't include a territory; fontconfig will select an appropriate type of character (tradtional/simplified) based on the territory in your locale. If your territory is set to something other than cn, hk, mo, sg or tw, then fontconfig won't know the which type to return. > Anyways, firefox still looks good with > $ dpkg -l \*fontcon*|perl -alnwe 'print "@F[0..2]" if /^h/' > hi fontconfig 2.4.91-1 > hi fontconfig-config 2.4.2-1.2 > hi libfontconfig1 2.4.2-1.2 > hi libfontconfig1-dev 2.4.2-1.2 > > so fontconfig_2.4.91-1_i386.deb must not be the culprit, and fc-match > is not showing what is ugly... Right, it's the fontconfig-config package which contains the rules governing font selection. I'll need you to re-run the above test replacing the fontconfig-config package, I'm afraid. Sorry for messing up the test. -- [EMAIL PROTECTED]
signature.asc
Description: This is a digitally signed message part