From 2378ff9771db2606e11b27cba5bd802463699d41 Mon Sep 17 00:00:00 2001 From: Owen Taylor Date: Mon, 19 Aug 2002 18:10:28 +0000 Subject: Delete the FC_PATTERN out of the result of FcFontRenderPrepare(), because Mon Aug 19 14:07:02 2002 Owen Taylor * pango/pangofc-fontmap.cI (pango_fc_font_map_get_patterns): Delete the FC_PATTERN out of the result of FcFontRenderPrepare(), because it makes identical fonts look like not identical fonts. * pango/pangofc-fontmap.cI (uniquify_pattern): pango/pangoft-fontmap.c pango/pangoxft-fontmap.c: Use a hash table to uniquify the patterns we cache to save memory and speed lookups. * pango/pangoxft-font.c (pango_xft_font_get_font): Split into a public wrappper (with g_return_if_fail()) around a static internal function (without check). * pango/pangoxft-fontmap.c (_pango_xft_font_map_get_info): Remove checked cast, since it was showing up high on profiles. --- ChangeLog.pre-1-8 | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'ChangeLog.pre-1-8') diff --git a/ChangeLog.pre-1-8 b/ChangeLog.pre-1-8 index 662dab15..4fb282a5 100644 --- a/ChangeLog.pre-1-8 +++ b/ChangeLog.pre-1-8 @@ -1,3 +1,20 @@ +Mon Aug 19 14:07:02 2002 Owen Taylor + + * pango/pangofc-fontmap.cI (pango_fc_font_map_get_patterns): + Delete the FC_PATTERN out of the result of FcFontRenderPrepare(), + because it makes identical fonts look like not identical fonts. + + * pango/pangofc-fontmap.cI (uniquify_pattern): pango/pangoft-fontmap.c + pango/pangoxft-fontmap.c: Use a hash table to uniquify the patterns + we cache to save memory and speed lookups. + + * pango/pangoxft-font.c (pango_xft_font_get_font): Split into + a public wrappper (with g_return_if_fail()) around a static + internal function (without check). + + * pango/pangoxft-fontmap.c (_pango_xft_font_map_get_info): Remove + checked cast, since it was showing up high on profiles. + Fri Aug 16 17:49:38 2002 Owen Taylor * pango/pangofc-fontmap.cI pango/pangoxft-fontmap.c -- cgit v1.2.1