diff options
author | Behdad Esfahbod <behdad@gnome.org> | 2007-06-11 22:58:50 +0000 |
---|---|---|
committer | Behdad Esfahbod <behdad@src.gnome.org> | 2007-06-11 22:58:50 +0000 |
commit | 170c2994edd9537000790e5fe989030af35ce3c5 (patch) | |
tree | 18973ecc163a7567bf34711c3424b11b51c2dd6e /pango/pango-font.h | |
parent | ca3fe5ba103c1a06af569a8214c531e124b733df (diff) | |
download | pango-170c2994edd9537000790e5fe989030af35ce3c5.tar.gz |
Bug 440588 – Add pango_font_face_is_synthesized()
2007-06-11 Behdad Esfahbod <behdad@gnome.org>
Bug 440588 – Add pango_font_face_is_synthesized()
* pango/pango-font.h:
* pango/fonts.c:
New PangoFontFace method is_synthesized.
New public API:
pango_font_face_is_synthesized()
* pango/pangofc-fontmap.c (pango_fc_face_is_synthesized):
Implement new method.
* docs/pango-sections.txt:
* docs/tmpl/fonts.sgml:
* pango/pango.def:
Update.
svn path=/trunk/; revision=2342
Diffstat (limited to 'pango/pango-font.h')
-rw-r--r-- | pango/pango-font.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/pango/pango-font.h b/pango/pango-font.h index 4b00fb1f..79758ae4 100644 --- a/pango/pango-font.h +++ b/pango/pango-font.h @@ -256,11 +256,12 @@ struct _PangoFontFamilyClass 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); +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); +gboolean pango_font_face_is_synthesized (PangoFontFace *face); #ifdef PANGO_ENABLE_BACKEND @@ -281,16 +282,16 @@ struct _PangoFontFaceClass /*< public >*/ - const char * (*get_face_name) (PangoFontFace *face); + const char * (*get_face_name) (PangoFontFace *face); PangoFontDescription * (*describe) (PangoFontFace *face); void (*list_sizes) (PangoFontFace *face, int **sizes, int *n_sizes); + gboolean (*is_synthesized) (PangoFontFace *face); /*< private >*/ /* Padding for future expansion */ - void (*_pango_reserved2) (void); void (*_pango_reserved3) (void); void (*_pango_reserved4) (void); }; |