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 | |
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')
-rw-r--r-- | ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -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): |