Font question



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.


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