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-context.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-context.h')
-rw-r--r-- | pango/pango-context.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pango/pango-context.h b/pango/pango-context.h index c72cf992..078e841f 100644 --- a/pango/pango-context.h +++ b/pango/pango-context.h @@ -31,7 +31,8 @@ G_BEGIN_DECLS /* Sort of like a GC - application set information about how * to handle scripts */ -typedef struct _PangoContext PangoContext; + +/* PangoContext typedefed in pango-fontmap.h */ typedef struct _PangoContextClass PangoContextClass; #define PANGO_TYPE_CONTEXT (pango_context_get_type ()) @@ -59,6 +60,9 @@ void pango_context_list_families (PangoContext *context int *n_families); PangoFont * pango_context_load_font (PangoContext *context, const PangoFontDescription *desc); +PangoFontset *pango_context_load_fontset (PangoContext *context, + const PangoFontDescription *desc, + PangoLanguage *language); PangoFontMetrics *pango_context_get_metrics (PangoContext *context, const PangoFontDescription *desc, |