Around 7 o'clock on Nov 13, "Edward G.J. Lee" wrote:

>   As your explain, Xft can recognize UTF-8 font family names. Is it
>   possible that XLFD can use UTF-8 font family names too? I try
>   UTF-8 and big5 but in vain. The property of FAMILY_NAME is type
>   ATOM, seems can use ISO-8859-1 encoding only?
>  (I'm sorry, if I misunderstand something, I'm still new to X)

Xft doesn't do any conversion on font names at all; if they're stored in 
the TrueType file in UTF-8, then you should provide them in UTF-8 format.  
This is probably wrong, but I don't quite understand what encoding the 
various properties in the TrueType file as exposed by FreeType use.

Certainly the core protocol uses only Latin-1; but as UTF-8 can easily be 
confused for Latin-1, it may well be that you can provide UTF-8 strings in 
XLFD names and have them work "by accident".

[EMAIL PROTECTED]        XFree86 Core Team              SuSE, Inc.


_______________________________________________
Render mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/render

Reply via email to