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

Carl Worth cworth at kemper.freedesktop.org
Tue Feb 13 22:06:01 PST 2007


 src/cairo-ft-font.c |    3 +++
 1 files changed, 3 insertions(+)

New commits:
diff-tree 7adab2866be21207a15f07aab01fb17edd0e661f (from 17b4496ae9df539c48c830b21c4477e763ba4e5d)
Author: Carl Worth <cworth at cworth.org>
Date:   Tue Feb 13 22:05:57 2007 -0800

    Add missing call to set_scale of unscaled_font in scaled_glyph init
    
    This fixes a regression introduced with commit:
    
    	25a370d7992d7f70d8cf79f1b328e40437b40ac4
    
    This was showing up as a failure of the bitmap-font test case
    with the ps, pdf, and svg backends.

diff --git a/src/cairo-ft-font.c b/src/cairo-ft-font.c
index d6ee6de..0c2bb79 100644
--- a/src/cairo-ft-font.c
+++ b/src/cairo-ft-font.c
@@ -1782,6 +1782,9 @@ _cairo_ft_scaled_glyph_init (void			*abs
     if (!face)
 	return CAIRO_STATUS_NO_MEMORY;
 
+    _cairo_ft_unscaled_font_set_scale (scaled_font->unscaled,
+				       &scaled_font->base.scale);
+
     /* Ignore global advance unconditionally */
     load_flags |= FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH;
 


More information about the cairo-commit mailing list