diff options
author | Owen Taylor <otaylor@redhat.com> | 2002-02-24 20:05:08 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2002-02-24 20:05:08 +0000 |
commit | 58b1937584f2ee407a24c2bc7cecfaa6f5be0e45 (patch) | |
tree | 33977b2a96058049a39f2bfe10ed34b8c63338d9 /ChangeLog.pre-1-0 | |
parent | 6d614b5deac0d1605c61c8edf932d08b21a91bce (diff) | |
download | pango-58b1937584f2ee407a24c2bc7cecfaa6f5be0e45.tar.gz |
Rewrite to reduce the number of strcmps.
Sun Feb 24 13:40:55 2002 Owen Taylor <otaylor@redhat.com>
* pango/pangoxft-fontmap.c (pango_xft_pattern_equal):
Rewrite to reduce the number of strcmps.
* pango/pangoxft-fontmap.c (pango_xft_font_map_load_font):
Compute the patterns as for load_fontset(), then just
return the first. This takes advantage of our caching
strategy.
Diffstat (limited to 'ChangeLog.pre-1-0')
-rw-r--r-- | ChangeLog.pre-1-0 | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ChangeLog.pre-1-0 b/ChangeLog.pre-1-0 index 8c8a9d5b..e607fd7e 100644 --- a/ChangeLog.pre-1-0 +++ b/ChangeLog.pre-1-0 @@ -1,3 +1,13 @@ +Sun Feb 24 13:40:55 2002 Owen Taylor <otaylor@redhat.com> + + * pango/pangoxft-fontmap.c (pango_xft_pattern_equal): + Rewrite to reduce the number of strcmps. + + * pango/pangoxft-fontmap.c (pango_xft_font_map_load_font): + Compute the patterns as for load_fontset(), then just + return the first. This takes advantage of our caching + strategy. + Sun Feb 24 12:12:09 2002 Owen Taylor <otaylor@redhat.com> * pango/pangoxft-fontmap.c (pango_xft_font_map_new_font): |