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

Behdad Esfahbod behdad at behdad.org
Wed Mar 31 09:31:17 PDT 2010


Ok, let me look into this.  Sounds like a bug.

behdad

On 03/31/2010 12:26 PM, 마잇(Mait) wrote:
> 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
>>
> 
> 
> 


More information about the Fontconfig mailing list