[gtkada] Pb with Pango.Font and Gdk.Font

Sami EVANGELISTA sami.evangelista at wanadoo.fr
Wed Jul 9 12:23:22 CEST 2003


In fact i want to draw fonts on a gdk_drawable and get width and heights 
of drawn strings.
Can this be done by directly manipulating pango object?
I didnt find the appropriate functions.

Thanks

>On Wed, 2003-07-09 at 12:11, Sami EVANGELISTA wrote:
>  
>
>>I recently upgraded to gtk 2.2 and i have some problems when dealing 
>>with fonts.
>>    
>>
>
>Most of the time, you shouldn't have to create a Gdk_Font structure. Let
>gtk+ take care of that itself.  The best is to stick at the pango level,
>with Pango_Font_Description and Pango_Layout.
>
>regards,
>Emmanuel
>_______________________________________________
>gtkada mailing list
>gtkada at lists.act-europe.fr
>http://lists.act-europe.fr/mailman/listinfo/gtkada
>
>  
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/gtkada/attachments/20030709/7cb1949d/attachment.htm 


More information about the gtkada mailing list