Re: fixed width fonts appear bold

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Patrick Lam <plam@xxxxxxx> さんは書きました:

> Andrei A. Voropaev wrote:
>> On Thu, Mar 23, 2006 at 05:57:37PM +0100, Andrei A. Voropaev wrote:
>>> Also, I have cyrillic bitmap fonts in /usr/X11R6/lib/X11/fonts/cyrillic
>>> directory. For whatever reason the fonts.cache-1 file in it is empty,
>>> fc-cache -v says
>>>
>>> fc-cache: "/usr/X11R6/lib/X11/fonts/cyrillic": caching, 0 fonts, 0 dirs
>>>
>>> Why doesn't it find any fonts in it, when regular xlsfont lists all
>>> fonts from that directory?
>> 
>> This appears to be because of this chunk of code in fcfreetype.c:1556
>> 
>>     /*
>>      * Skip over PCF fonts that have no encoded characters; they're
>>      * usually just Unicode fonts transcoded to some legacy encoding
>>      */
>>     if (FcCharSetCount (cs) == 0)
>>     {
>> 	if (!strcmp(FT_MODULE_CLASS(&face->driver->root)->module_name, "pcf"))
>> 	    goto bail2;
>>     }
>> 
>> So I guess this applies to cyrillic koi8-r fonts :) Or it could be that
>> I have some "incorrect" version of freetype library.
>
> It would seem that there's something fishy with those fonts.

They are koi8-r encoded. They cannot work with fontconfig as
fontconfig supports only ISO-8859-1 and Unicode fonts.  Therefore they
are skipped using the above code.

-- 
Mike FABIAN   <mfabian@xxxxxxx>   http://www.suse.de/~mfabian
睡眠不足はいい仕事の敵だ。

_______________________________________________
Fontconfig mailing list
Fontconfig@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/fontconfig

[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux