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.
|