Hi, Dov Grobgeld <dov@xxxxxxxxxxxxxxxxxxxxx> writes: > Have a look at pangoft2topgm in the pango/examples directory. It shows > you how to construct a pango layout and then convert it to a gray level > image. You may then connect your code at this point and turn this image > into a mask that you may write to the screen using normal gdk-functions. > Note that in order to support the anti aliasing that freetype2 creates, > you will have to read from the screen the pixel buffer you want to > paint in, draw using the image data returned from pango as an alpha > channel, and then paint the resulting back to the screen. There are certainly easier ways to draw a PangoLayout to the screen. Have a look at gdk_draw_layout(). Sven _______________________________________________ gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list