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? If sent as ascii, is it 7-bit, 8-bit, or something longer?
> Does gtk have any control over what renders the fonts at the X server?
> Is XDrawString used?

When rendering using Xft or (for in GTK+-2.7, Cairo), characters are 
rendered client side and sent to the server as images. Then a 
RenderCompositeGlyphs request is made to draw those images to the
screen. It looks conceptually like:

Using glyphset 1432413:
 draw glyph #3 at 40,10
 draw glyph #4 at 50,10
 [...]

Regards,
                                                Owen

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
  • Re: Fonts Owen Taylor

Reply via email to