summaryrefslogtreecommitdiff
path: root/pango/pango-font.h
diff options
context:
space:
mode:
authorNoah Levitt <nlevitt@columbia.edu>2004-02-23 22:39:26 +0000
committerNoah Levitt <nlevitt@src.gnome.org>2004-02-23 22:39:26 +0000
commite697bf3ac234b070f3ef269142b94bdefb353640 (patch)
tree2182fc24801330465036bd2c15d8080af1ee4ae5 /pango/pango-font.h
parentd234d2a87811f893069d383f45b6365030aa2188 (diff)
downloadpango-e697bf3ac234b070f3ef269142b94bdefb353640.tar.gz
New API pango_font_family_is_monospace. (#108728)
2003-02-23 Noah Levitt <nlevitt@columbia.edu> * pango/pangowin32-fontmap.c: * pango/pangofc-fontmap.c: * pango/pango-font.h: * pango/fonts.c: New API pango_font_family_is_monospace. (#108728)
Diffstat (limited to 'pango/pango-font.h')
-rw-r--r--pango/pango-font.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/pango/pango-font.h b/pango/pango-font.h
index f9cabfb3..56b3b72f 100644
--- a/pango/pango-font.h
+++ b/pango/pango-font.h
@@ -193,6 +193,7 @@ void pango_font_family_list_faces (PangoFontFamily *family,
PangoFontFace ***faces,
int *n_faces);
G_CONST_RETURN char *pango_font_family_get_name (PangoFontFamily *family);
+gboolean pango_font_family_is_monospace (PangoFontFamily *family);
#ifdef PANGO_ENABLE_BACKEND
@@ -217,11 +218,11 @@ struct _PangoFontFamilyClass
PangoFontFace ***faces,
int *n_faces);
const char * (*get_name) (PangoFontFamily *family);
+ gboolean (*is_monospace) (PangoFontFamily *family);
/*< private >*/
/* Padding for future expansion */
- void (*_pango_reserved1) (void);
void (*_pango_reserved2) (void);
void (*_pango_reserved3) (void);
void (*_pango_reserved4) (void);