Working with fonts

Hi, ALL,
I apologize if this is not the right place to post it, but it reflects on the GTK.

I tried to see if there is any pointers on how to work with font family on this page.

I was able to find pango_font_description_set_family(), but it doesn’t take an actual family as a parameter. It takes a string representing afamily name.
I also found pango_font_face_get_face_name (), which I presume I should pass into the above mentioned function.

However, what I didn’t find is the documentation on the PangoFontFamilies structure documentation.

Am I missing something? Is there another page I need to look at?

Thank you for any pointers!

As an aside question is Pango the only way to work with fonts in GTK application? Nothing in GTK itself?

First of all, it would be good to understand what you want to achieve. What are you going to do with font families?

GTK depends on Pango precisely so it doesn’t need to have its own API.

Hi, Emmanuele,

Right now I’m curious where is the different values of PangoFontFamilies are documented.

That’s good to know.

Thank you.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.