Re: Howto use a GdkFont in Cairo?

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.

Mathias Hasselmann <mathias hasselmann gmx de>
Openismus GmbH:
Personal Site:

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

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