On Tue, Apr 7, 2009 at 6:05 AM, Dov Grobgeld <dov.grobg...@gmail.com> wrote:
> Since hex characters only has an alphabet of 16 characters, you can draw > these once into separate pixbufs, and then use gdk_pixbuf_copy_area() to > draw the prerendered characters to the screen. If you have the memory you > can e.g. create 256 two-nibble precomposed glyphs. I'm not sure how much > more efficient this is compared to the gtk/pango/freetype caching of text, > but it is worth a try. > Thanks; I tried this (I just used 256 little pixmaps) and it speeded things up a lot. _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list