[cairo-commit] src/cairo-ft-font.c

罗晶华 Jinghua Luo jinghua at kemper.freedesktop.org
Sun Jun 18 08:50:59 PDT 2006


 src/cairo-ft-font.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

New commits:
diff-tree e4736fcf76855c7ca5c9e8b922622dfffe08e4e1 (from 1e0e56e0223116bf48e5acd4a974f16fae824df2)
Author: Jinghua Luo <sunmoon1997 at gmail.com>
Date:   Sun Jun 18 23:50:51 2006 +0800

    freetype: Clear target mode correctly in _cairo_ft_options_merge.

diff --git a/src/cairo-ft-font.c b/src/cairo-ft-font.c
index 9c94929..3bcfb9f 100644
--- a/src/cairo-ft-font.c
+++ b/src/cairo-ft-font.c
@@ -1357,7 +1357,7 @@ _cairo_ft_options_merge (cairo_ft_option
     int load_target = FT_LOAD_TARGET_NORMAL;
 
     /* clear load target mode */
-    load_flags &= ~FT_LOAD_TARGET_MODE(other->load_flags);
+    load_flags &= ~(FT_LOAD_TARGET_(FT_LOAD_TARGET_MODE(other->load_flags)));
     
     if (load_flags & FT_LOAD_NO_HINTING)
 	other->base.hint_style = CAIRO_HINT_STYLE_NONE;


More information about the cairo-commit mailing list