After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 496545 - Add pango_font_get_face() and pango_font_face_get_family()
Add pango_font_get_face() and pango_font_face_get_family()
Status: RESOLVED OBSOLETE
Product: pango
Classification: Platform
Component: general
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: pango-maint
pango-maint
Depends on:
Blocks:
 
 
Reported: 2007-11-13 19:53 UTC by Behdad Esfahbod
Modified: 2018-05-22 12:35 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Behdad Esfahbod 2007-11-13 19:53:08 UTC
Such that the face and family types are accessible through fonts.  Right now they are a deserted API only useful for enumeration.
Comment 1 Nick Treleaven 2009-06-12 11:46:44 UTC
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))
    ...
Comment 2 GNOME Infrastructure Team 2018-05-22 12:35:39 UTC
-- 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.