From d2c50eca978828bbf7c3b0386da35ee1444a64f7 Mon Sep 17 00:00:00 2001 From: Noah Levitt Date: Mon, 23 Feb 2004 02:19:13 +0000 Subject: New API for getting available sizes for a bitmap font face. 2003-02-22 Noah Levitt * 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. --- pango/pango-font.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'pango/pango-font.h') 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); -- cgit v1.2.1