I have a PangoFontDescription
and I want to know whether it describes a monospace font.
I have seen the function pango_font_family_is_monospace()
in the Pango API documentation but after several hours of puzzling it is still not clear to me what the relationships are between PangoFontFamily
, PangoFontMap
, PangoFont
, PangoFontset
, PangoContext
, and PangoFontDescription
and whether I need any or all of these to achieve what I want. So far, PangoFontDescription
is the only part of Pango I've needed to use, as GTK manages to abstract everything else away.
Can anyone who has done this before help me out?