diff options
author | Alex Larsson <alexl@redhat.com> | 2001-11-18 23:23:14 +0000 |
---|---|---|
committer | Alexander Larsson <alexl@src.gnome.org> | 2001-11-18 23:23:14 +0000 |
commit | a409a746f1fdec933cd1be897cc6078e6050690f (patch) | |
tree | efc5c88209034a84c3ce8900c7b26f089eb6840e /pango/pango-fontmap.h | |
parent | ba6b12ca588709d4d408e691fbe9698a5a97339d (diff) | |
download | pango-a409a746f1fdec933cd1be897cc6078e6050690f.tar.gz |
Add new function pango_context_load_fontset() to wrap
2001-11-18 Alex Larsson <alexl@redhat.com>
* pango/pango-context.[ch]:
Add new function pango_context_load_fontset() to wrap
pango_font_map_load_fontset().
Add PangoContext arguments to load_font and load_fontset.
* pango/pango-fontmap.[ch]:
* pango/pangoft2-fontmap.c:
* pango/pangowin32-fontmap.c:
* pango/pangox-fontmap.c:
* pango/pangoxft-font.c:
* pango/pangoxft-fontmap.c
Add PangoContext arguments to load_font and load_fontset.
Diffstat (limited to 'pango/pango-fontmap.h')
-rw-r--r-- | pango/pango-fontmap.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pango/pango-fontmap.h b/pango/pango-fontmap.h index adc4920a..17f20a5d 100644 --- a/pango/pango-fontmap.h +++ b/pango/pango-fontmap.h @@ -31,12 +31,15 @@ G_BEGIN_DECLS #define PANGO_FONT_MAP(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), PANGO_TYPE_FONT_MAP, PangoFontMap)) #define PANGO_IS_FONT_MAP(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), PANGO_TYPE_FONT_MAP)) +typedef struct _PangoContext PangoContext; typedef struct _PangoFontMap PangoFontMap; GType pango_font_map_get_type (void) G_GNUC_CONST; PangoFont * pango_font_map_load_font (PangoFontMap *fontmap, + PangoContext *context, const PangoFontDescription *desc); PangoFontset *pango_font_map_load_fontset (PangoFontMap *fontmap, + PangoContext *context, const PangoFontDescription *desc, PangoLanguage *language); void pango_font_map_list_families (PangoFontMap *fontmap, @@ -62,11 +65,13 @@ struct _PangoFontMapClass GObjectClass parent_class; PangoFont * (*load_font) (PangoFontMap *fontmap, + PangoContext *context, const PangoFontDescription *desc); void (*list_families) (PangoFontMap *fontmap, PangoFontFamily ***families, int *n_families); PangoFontset *(*load_fontset) (PangoFontMap *fontmap, + PangoContext *context, const PangoFontDescription *desc, PangoLanguage *language); }; |