[Fontconfig] Font matching mismatch when font has two language name.

마잇(Mait) mattengi at gmail.com
Wed Mar 31 09:26:40 PDT 2010


Thanks for quick help, Behdad : )

I got some hint from qual="any".

<match target="font">
	<test name="family" qual="any">
		<string>NanumGothicCoding</string>
		<string>나눔고딕코딩</string>     // added
	</test>
	<edit name="autohint"><bool>false</bool></edit>
</match>

Then now,

~$ fc-match NanumGothicCoding -v | grep autohint
	autohint: FcFalse(w)

~$ fc-match 나눔고딕코딩 -v | grep autohint
	autohint: FcFalse(w)                // It works !

It works also without 'qual="any"' - as I know It's default value.
But one question, is this right config for font that has two language 'family'?

Thanks.


2010/4/1 Behdad Esfahbod <behdad at behdad.org>:
> On 03/31/2010 12:04 PM, 마잇(Mait) wrote:
>> In my ~/.fonts.conf
>>
>> <match target="font">
>>       <test name="family"><string>NanumGothicCoding</string></test>
>>       <edit name="autohint"><bool>false</bool></edit>
>> </match>
>
> Does it help if you add qual="any" to your test?
>
> behdad
>



-- 
Mait


More information about the Fontconfig mailing list