diff options
author | Owen Taylor <otaylor@redhat.com> | 2002-08-16 22:00:28 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2002-08-16 22:00:28 +0000 |
commit | 2c1bc52c9d3429c34a26ad643eff8f84c339034e (patch) | |
tree | f75461f1804c334783f86d3092204a70bf3cd86e /pango/pangoxft-private.h | |
parent | c968ee2b826db913e4ccda3389009d1e2e9047df (diff) | |
download | pango-2c1bc52c9d3429c34a26ad643eff8f84c339034e.tar.gz |
Move the common code between PangoXftFontmap and PangoFT2Fontmap into a
Fri Aug 16 17:49:38 2002 Owen Taylor <otaylor@redhat.com>
* pango/pangofc-fontmap.cI pango/pangoxft-fontmap.c
pango/pangoft2-fontmap.c pango/pangoxft-private.h
pango/pangoft2-private.h pango/pangoxft-font.c
pango/pangoft2.h: Move the common code between PangoXftFontmap
and PangoFT2Fontmap into a new file that is included from both
with appropriate #defines. This provides most of the
recent Xft backend improvements for the FT2 backend
as well.
Diffstat (limited to 'pango/pangoxft-private.h')
-rw-r--r-- | pango/pangoxft-private.h | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/pango/pangoxft-private.h b/pango/pangoxft-private.h index 07dbad44..194c4f2b 100644 --- a/pango/pangoxft-private.h +++ b/pango/pangoxft-private.h @@ -28,7 +28,6 @@ G_BEGIN_DECLS typedef struct _PangoXftFont PangoXftFont; -typedef struct _PangoXftCoverageKey PangoXftCoverageKey; struct _PangoXftFont { @@ -49,12 +48,6 @@ struct _PangoXftFont gboolean in_cache; }; -struct _PangoXftCoverageKey -{ - char *filename; - int id; /* needed to handle TTC files with multiple faces */ -}; - PangoXftFont * _pango_xft_font_new (PangoFontMap *font, FcPattern *pattern); void _pango_xft_font_map_cache_add (PangoFontMap *fontmap, @@ -63,11 +56,8 @@ void _pango_xft_font_map_add (PangoFontMap *fo PangoXftFont *xfont); void _pango_xft_font_map_remove (PangoFontMap *fontmap, PangoXftFont *xfont); -void _pango_xft_font_map_set_coverage (PangoFontMap *fontmap, - const PangoXftCoverageKey *key, - PangoCoverage *coverage); PangoCoverage *_pango_xft_font_map_get_coverage (PangoFontMap *fontmap, - const PangoXftCoverageKey *key); + FcPattern *pattern); void _pango_xft_font_map_get_info (PangoFontMap *fontmap, Display **display, int *screen); |