Font question

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

 



Hi, ALL,
My question is related to Pango/font. I don't know if this is the right place
though...

I'd like to retrieve all possible sizes for specific font name.
I know there is a pango_font_face_list_sizes() and pango_font_description_get_size().

My problem is:

[code]
int **sizes, *n_sizes;
PangoFontDescription *desc = pango_font_description_from_string( name );
pango_font_face_list_sizes( ..., sizes, n_size );

What do I put instead of the dots?

Also my guess is that pango_font_description_get_size() returns only one size
and not all available sizes for this specific font name. Am I right in this?

Thank you.
_______________________________________________
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