On Tue, 2005-08-02 at 00:16 +1000, Russell Shaw wrote: > Hi, > Does all text in gtk/pango get sent to the X server as ascii, or are bitmaps > sent too?
Both, depending on whether client-side core X fonts are used or whether client-side fonts are used with Xft. > If sent as ascii, is it 7-bit, 8-bit, or something longer? I don't understand this question -- a font is a collection of descriptions of outlines, including curves and/or code to draw the glyphs as well as other metadata. Are you asking if the instructions to draw an "a" (for example) are sent in ascii over the connection to the X server, or are you really trying to ask if pango can render non-latin text? If the latter, yes it can, see www.pango.org. if the former, no, the connection to the X server must be 8-bit clean as it's binary data. > Does gtk have any control over what renders the fonts at the X server? > Is XDrawString used? pango controls this. And yes if pango calls XDrawString() then XDrawString() will be used. Gdk may also draw text directly, without pango, I think. I hope this helps, but I suspect all I can do is help you to phrase your question more precisely, or to describe what you are trying to do so people can give a better answer. Liam -- Liam R. E. Quin <[EMAIL PROTECTED]> http://www.holoweb.net/~liam/ Pictures from old books at http://fromoldbooks.org/ _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list