[Fontconfig] Re: Patch to improve support for localized font family and style names

Mike FABIAN mfabian at suse.de
Fri Oct 21 00:43:25 EST 2005


Mike FABIAN <mfabian at suse.de> さんは書きました:

> Keith Packard <keithp at keithp.com> さんは書きました:
>
>> On Wed, 2005-10-19 at 16:12 +0200, Mike FABIAN wrote:
>>
>>> Here is a patch by Zhe Su <zsu at novell.com> to improve support
>>> for localized font family and style names.

Zhe Su has updated his patch a little bit (new patch attached) because
of the problem mentioned in comment #8 of

    http://bugzilla.novell.com/show_bug.cgi?id=128930

>     Comment #8 From Mike Fabian 2005-10-19 07:46 MST
>     [ ] Private
>    
>     Without the patch:
>    
>     mfabian at magellan:/var/tmp/abuild/x86_64$ LANG=zh_CN.UTF-8 fc-list : | grep -i
>     FZ
>     FZHeiTi,方正黑体:style=Regular
>     FZFangSong,方正仿宋:style=Regular
>     FZKaiTi,方正楷体:style=Regular
>     FZSongTi,方正宋体:style=Regular
>     FZKaiTiB,方正楷體:style=Regular
>     FZMingTiB,方正明體:style=Regular
>     mfabian at magellan:~$
>    
>     With the patch:
>    
>     mfabian at magellan:~$ LANG=zh_CN.UTF-8 fc-list : | grep -i FZ
>     方正黑体,FZHeiTi:style=Regular
>     方正仿宋,FZFangSong:style=Regular
>     方正楷体,FZKaiTi:style=Regular
>     方正宋体,FZSongTi:style=Regular
>     FZKaiTiB,方正楷體:style=Regular
>     FZMingTiB,方正明體:style=Regular
>     mfabian at magellan:~$
>    
>     I.e. when the locale is simplified Chinese, the traditional Chinese
>     font names will still be displayed in the ASCII versions.
>    
>     That's funny, but probably OK, isn't it?

With Zhe Su's new patch, the localized font names for traditional
Chinese are also shown in simplified Chinese locales and vice versa.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: bugzilla-128930-support-localized-family-and-style-names.patch
Type: text/x-patch
Size: 6481 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/fontconfig/attachments/20051020/64f71752/bugzilla-128930-support-localized-family-and-style-names.bin
-------------- next part --------------

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


More information about the Fontconfig mailing list