summaryrefslogtreecommitdiff
path: root/pango/pangoxft-fontmap.c
diff options
context:
space:
mode:
authorAlex Larsson <alexl@redhat.com>2001-11-18 23:23:14 +0000
committerAlexander Larsson <alexl@src.gnome.org>2001-11-18 23:23:14 +0000
commita409a746f1fdec933cd1be897cc6078e6050690f (patch)
treeefc5c88209034a84c3ce8900c7b26f089eb6840e /pango/pangoxft-fontmap.c
parentba6b12ca588709d4d408e691fbe9698a5a97339d (diff)
downloadpango-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/pangoxft-fontmap.c')
-rw-r--r--pango/pangoxft-fontmap.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/pango/pangoxft-fontmap.c b/pango/pangoxft-fontmap.c
index b159a56a..0c1d3d64 100644
--- a/pango/pangoxft-fontmap.c
+++ b/pango/pangoxft-fontmap.c
@@ -111,8 +111,10 @@ static void pango_xft_font_map_init (PangoXftFontMap
static void pango_xft_font_map_class_init (PangoFontMapClass *class);
static void pango_xft_font_map_finalize (GObject *object);
static PangoFont * pango_xft_font_map_load_font (PangoFontMap *fontmap,
+ PangoContext *context,
const PangoFontDescription *description);
static PangoFontset *pango_xft_font_map_load_fontset (PangoFontMap *fontmap,
+ PangoContext *context,
const PangoFontDescription *desc,
PangoLanguage *language);
static void pango_xft_font_map_list_families (PangoFontMap *fontmap,
@@ -508,6 +510,7 @@ pango_xft_font_map_new_font (PangoFontMap *fontmap,
static PangoFont *
pango_xft_font_map_load_font (PangoFontMap *fontmap,
+ PangoContext *context,
const PangoFontDescription *description)
{
PangoXftFontMap *xfontmap = (PangoXftFontMap *)fontmap;
@@ -539,6 +542,7 @@ pango_xft_font_set_free (PangoXftPatternSet *font_set)
static PangoFontset *
pango_xft_font_map_load_fontset (PangoFontMap *fontmap,
+ PangoContext *context,
const PangoFontDescription *desc,
PangoLanguage *language)
{