Am Mittwoch, den 06.02.2008, 15:42 +0100 schrieb Clemens Eisserer:
> Hello,
> 
> I am trying to convert gtk_paint_string to use Cairo only.
> 
> However the Fonts which should be used is only available as GdkFont,
> so I wonder whats the best way to use this GdkFont in Cairo.
> Always looking up the font-name seems to add a lot of overhead :-/

GdkFont is from a very old era, predating inovations like Xft, Pango or
cairo. Most propably you want to use 
pango_cairo_show_layout_line() and friends.

Ciao,
Mathias
-- 
Mathias Hasselmann <[EMAIL PROTECTED]>
Openismus GmbH: http://www.openismus.com/
Personal Site: http://taschenorakel.de/

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil

_______________________________________________
gtk-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to