How to use Pango Font?



How to transfer a fontname to font?

I want to select a font use GtkFontSelectionDialog,  I got font-name.

How to draw a text with the selected font?

 

I know I should use pango, because GdkFont is deprecated.

Can some one show me a little code how to use the PangoFont and   PangoFontDescription?

 

Thanks.

 

 

 



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