Olivier Galibert writes:
The comment just before separate_textual_run[1] talks about Xft
Reloaded which would use utf-8 runs.
Comments referring to Xft Reloaded are way old and should be removed.
The function actually uses big-endian BMP unicode
You could ask Aidan about that, as he was the last to fiddle with it,
and removed some conditionalization was left over from when I was
fooling with it (I just used what worked both on PPC Mac OS X and x86
Linux).
My impression was that the textual run code used platform-endian, but
I could be wrong. X itself uses a struct Xchar2b or something like
that to guarantee bigendianness of 2D character arrays, but Xft is,
uh, looser, just defining those things as unsigned char, unsigned
short, and unsigned int.
Is that something that was, that will be, or that would just be
nice (to reach outside of the BMP)?
AIUI XFT has a triple API, all of which are actually full Unicode,
UTF-8, UTF-16, and UTF-32. However, I can't be sure of any of that
as in true X11 tradition the only precise documentation is the source.
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta