Around 12 o'clock on Feb 20, Tomohiro KUBOTA wrote:
> What font name you use? I imagine Devanagari will need more glyph > codepoints than character codepoints. Since these X11 functions > assume the character encoding to be *glyph* index, I think some > radical redesign would be needed for X font mechanism to support > Devanagari. It is because X's font mechanism including XFontStruct, > XFontSet, and Xft all assume that character and glyph correspond > one-to-one. Xft exposes the underlying FreeType file so that apps can access the underlying font information as needed to perform the N unicode chars -> M glyphs needed for Devanagari layout. Pango uses this in it's implementation of arabic support, but it doesn't yet have Xft support for indic scripts. I don't know how hard adding that will be; indic scripts aren't the easiest to typeset. Xft also provides a simple Unicode layer on top of the glyph layer, but that is only a convenience for locales where a 1->1 mapping from Unicode char to glyph exists and where layout is straightforward. Keith Packard XFree86 Core Team Compaq Cambridge Research Lab _______________________________________________ I18n mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/i18n