Stephen J. Turnbull wrote:
>>>>>"Ben" == Ben Wing <ben(a)xemacs.org>
writes:
>>>>>
>>>>>
Ben> well, there are some fonts that have ...-devanagari-10646-... in them,
Ben> which are presumably unicode.
Yeah, I know, but I can't get them to work (haven't tried in a while,
though, because I'm using Xft almost all the time now). AFAICT the
standard X11R6 functions didn't handle them at all, and the XFree86
extensions wanted UTF-8 and did something magic internally.
Basically I think the way to go is fontconfig/Xft.
actually, it doesn't look as bad as i thought. there is such a thing as
XwcDrawImageString, which is a standard part of x windows and which
accepts a Unicode string as well as an XFontSet, which collects a bunch
of fonts together [although what it does if more than one font in the
fontset contains a glyph for a particular character is anyone's guess
...]. the definition of XCreateFontSet has a bunch of bogosity about
locales and charsets and fonts that possibly must exist for a particular
charset depending on the "locale definition in Xlib", and naturally such
definitions are nowhere to be found, but there's probably a reasonable
way of handling this that will work fairly generally.