Re: Fonts
- From: Owen Taylor <otaylor redhat com>
- To: Russell Shaw <rjshaw netspace net au>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Fonts
- Date: Tue, 02 Aug 2005 07:50:56 -0400
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]