Aidan Kehoe <kehoea(a)parhasard.net> writes:
Ar an triú lá de mí Aibréan, scríobh Jeff Sparkes:
> I've got pango displaying the strings from the output_string function in
> redisplay-xlike-inc.c.
Excellent! And I’ve been occasionally building the GTK workspace over the
last few weeks, and getting a running XEmacs; thanks for that, it does make
a difference.
Wow, an actual customer! My biggest problem for a semi-release is
getting the toolbar to display correctly. The display is working well
for ASCII characters.
> Pango wants utf-8 input. I have HAVE_XFT and MULE defined, so I'm getting
> separate_textual_runs_xft_mule(), which is converting it into XftChar16,
> which is probably UCS-2, not UTF-16?
It should be UTF-16, that’s what XftDrawString16 accepts. XEmacs only treats
it as UCS-2 at the moment, which is a shame, but with our font support
passing surrogates probably wouldn’t be much help anyway. (I’m not sure you
want to turn on HAVE_XFT at the same time as Pango with GTK2 and XFT;
HAVE_XFT means “use our XFT redisplay implementation on top of X11 and the
Athena widgets”).
I have HAVE_XFT turned on because pango can use fontconfig fonts.
But that’s irrelevant to you. The good news is the Xft code used to do
exactly what you want; see the separate_textual_runs_xft function in this
patch:
http://www-pu.informatik.uni-tuebingen.de/users/knauel/xemacs-xft/xft-xem...
There will be better long-term solutions, but this is enough for your
purposes at the moment, I think. Shout if you have any trouble understanding
it.
Excellent. I haven't had a chance to try it out yet. I have a crash
which seems to be related to charset converage.
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta