summaryrefslogtreecommitdiff
path: root/pango/pango-font.h
diff options
context:
space:
mode:
authorNoah Levitt <nlevitt@columbia.edu>2004-02-23 02:19:13 +0000
committerNoah Levitt <nlevitt@src.gnome.org>2004-02-23 02:19:13 +0000
commitd2c50eca978828bbf7c3b0386da35ee1444a64f7 (patch)
tree1ea1796a8b9e983c8d59e3e25bec9301becd20db /pango/pango-font.h
parent2d82bfe6db3fe0a70df8c6381eb5dfb150724881 (diff)
downloadpango-d2c50eca978828bbf7c3b0386da35ee1444a64f7.tar.gz
New API for getting available sizes for a bitmap font face.
2003-02-22 Noah Levitt <nlevitt@columbia.edu> * pango/pango-font.h: * pango/pangofc-fontmap.c: * pango/pangowin32-fontmap.c: * pango/fonts.c (pango_font_face_list_sizes): New API for getting available sizes for a bitmap font face.
Diffstat (limited to 'pango/pango-font.h')
-rw-r--r--pango/pango-font.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/pango/pango-font.h b/pango/pango-font.h
index 4750300d..f9cabfb3 100644
--- a/pango/pango-font.h
+++ b/pango/pango-font.h
@@ -241,6 +241,9 @@ GType pango_font_face_get_type (void) G_GNUC_CONST;
PangoFontDescription *pango_font_face_describe (PangoFontFace *face);
G_CONST_RETURN char *pango_font_face_get_face_name (PangoFontFace *face);
+void pango_font_face_list_sizes (PangoFontFace *face,
+ int **sizes,
+ int *n_sizes);
#ifdef PANGO_ENABLE_BACKEND
@@ -263,11 +266,13 @@ struct _PangoFontFaceClass
const char * (*get_face_name) (PangoFontFace *face);
PangoFontDescription * (*describe) (PangoFontFace *face);
+ void (*list_sizes) (PangoFontFace *face,
+ int **sizes,
+ int *n_sizes);
/*< private >*/
/* Padding for future expansion */
- void (*_pango_reserved1) (void);
void (*_pango_reserved2) (void);
void (*_pango_reserved3) (void);
void (*_pango_reserved4) (void);