[cairo-commit] cairo/src cairo-atsui-font.c,1.20.4.2,1.20.4.3

Tim Rowley commit at pdx.freedesktop.org
Mon Oct 10 11:33:22 PDT 2005


Committed by: tor

Update of /cvs/cairo/cairo/src
In directory gabe:/tmp/cvs-serv2175/src

Modified Files:
      Tag: BRANCH_1_0
	cairo-atsui-font.c 
Log Message:
        * src/cairo-atsui-font.c (_cairo_atsui_font_glyph_path):
	Apply proper transform to generated paths.


Index: cairo-atsui-font.c
===================================================================
RCS file: /cvs/cairo/cairo/src/cairo-atsui-font.c,v
retrieving revision 1.20.4.2
retrieving revision 1.20.4.3
diff -u -d -r1.20.4.2 -r1.20.4.3
--- cairo-atsui-font.c	28 Sep 2005 17:37:40 -0000	1.20.4.2
+++ cairo-atsui-font.c	10 Oct 2005 18:33:19 -0000	1.20.4.3
@@ -659,13 +659,11 @@
     for (i = 0; i < num_glyphs; i++) {
         GlyphID theGlyph = glyphs[i].index;
 
+	info.scale = font->scale;
+	info.scale.x0 = glyphs[i].x;
+	info.scale.y0 = glyphs[i].y;
 
-        cairo_matrix_init(&info.scale,
-			  1.0, 0.0,
-			  0.0, 1.0, glyphs[i].x, glyphs[i].y);
-
-
-        err = ATSUGlyphGetCubicPaths(font->style,
+        err = ATSUGlyphGetCubicPaths(font->unscaled_style,
                                      theGlyph,
                                      moveProc,
                                      lineProc,



More information about the cairo-commit mailing list