Re: Howto use a GdkFont in Cairo?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <mathias.hasselmann@xxxxxx>
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
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux