GNOME Bugzilla – Bug 496545
Add pango_font_get_face() and pango_font_face_get_family()
Last modified: 2018-05-22 12:35:39 UTC
Such that the face and family types are accessible through fonts. Right now they are a deserted API only useful for enumeration.
What I need to do is check whether a font string like "Monospace 10" is a monospaced font - how can I get a PangoFontFamily pointer? fd = pango_font_description_from_string("Monospace 10"); str = pango_font_description_get_family(fd); ff = ???(str); if (pango_font_family_is_monospace(ff)) ...
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/pango/issues/106.