Brian Stell wrote:

> Yao Zhang wrote:
> > ...
> > The only way to find out which Han variant one font has is by 
> > looking at it.  

> When you say "looking at it" do you mean actually having a
> human view the glyphs?

Yes.  Only by viewing at those glyphs, you can say SimSun18030.ttc
is for zh_CN while MING_UNI.TTF is for zh_HK/zh_TW.  Otherwise, coverage
will show that they are similar and OS/2 table will show that they
both support simplified and traditional Chinese.  I am not aware of any
systematic way to determine
    SimSun18030.ttc -> zh_CN
and 
    MING_UNI.TTF -> zh_HW/zh_TW

> > As long as we can configure it properly, zh_CN, zh_HK and zh_TW 
> > etc really do not matter.

> What do you mean by "As long as we can configure it properly"?

In fonts.conf, we can already do something like
    if zh_CN then
        serif: {.., SimSun18030.ttc, ..}
    if zh_HW/zh_TW then
        serif: {.., MING_UNI.TTF, ..}
This seems to be the only way to properly make the association of
font and its regional preference.  I know Keith has the big idea
that you put a lot of fonts together and fontconfig will automatically
pick the right one for you.  That is really nice as long as fontconfig
can get the right information from fonts.  But for those two fonts
I mentioned above, that is not the case.  Nothing is better than
human eyes.  A machine could never guess what a person prefers.
Proper configuration is not avoidable.

Another way to do it is to make a font list with the right information
in it.  For example, if we can not always get the language-country property
reliablely, we can have a way to supply it manually.

Regards,

Yao Zhang
_______________________________________________
Fonts mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/fonts

Reply via email to