diff options
author | Behdad Esfahbod <behdad@gnome.org> | 2006-12-24 04:43:17 +0000 |
---|---|---|
committer | Behdad Esfahbod <behdad@src.gnome.org> | 2006-12-24 04:43:17 +0000 |
commit | 856f7cec6ef16a1624c48e58e0e43520978b9745 (patch) | |
tree | b242fb81284500b5ccee3460a25d8613b7099833 /pango/pangoft2-private.h | |
parent | d9fb0e4a427970f639c0e922f288cb2aac7dc8fe (diff) | |
download | pango-856f7cec6ef16a1624c48e58e0e43520978b9745.tar.gz |
Bug 384543 – FcFontMatch misuse
2006-12-23 Behdad Esfahbod <behdad@gnome.org>
Bug 384543 – FcFontMatch misuse
* pango/pangofc-fontmap.c (pango_fc_face_describe):
Call FcConfigSubstitute and FcDefaultSubstitute before calling
FcFontMatch.
* pango/pangoft2.c (load_fallback_face):
Call _pango_ft2_font_map_default_substitute().
* pango/pangocairo-fcfontmap.c
(pango_cairo_fc_font_map_context_substitute):
Handle the case of context == NULL.
Diffstat (limited to 'pango/pangoft2-private.h')
-rw-r--r-- | pango/pangoft2-private.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pango/pangoft2-private.h b/pango/pangoft2-private.h index d1c11b90..b79f3b5c 100644 --- a/pango/pangoft2-private.h +++ b/pango/pangoft2-private.h @@ -24,6 +24,7 @@ #define __PANGOFT2_PRIVATE_H__ #include <pango/pangoft2.h> +#include <pango/pangofc-fontmap.h> #include <pango/pango-renderer.h> #include <fontconfig/fontconfig.h> @@ -82,6 +83,8 @@ PangoFT2Font * _pango_ft2_font_new (PangoFT2FontMap *ft2fontmap FcPattern *pattern); FT_Library _pango_ft2_font_map_get_library (PangoFontMap *fontmap); const char *_pango_ft2_ft_strerror (FT_Error error); +void _pango_ft2_font_map_default_substitute (PangoFcFontMap *fcfontmap, + FcPattern *pattern); void *_pango_ft2_font_get_cache_glyph_data (PangoFont *font, int glyph_index); |