summaryrefslogtreecommitdiff
path: root/src/cairo-atsui-font.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cairo-atsui-font.c')
-rw-r--r--src/cairo-atsui-font.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cairo-atsui-font.c b/src/cairo-atsui-font.c
index cd82912e0..0813ff820 100644
--- a/src/cairo-atsui-font.c
+++ b/src/cairo-atsui-font.c
@@ -667,9 +667,9 @@ _cairo_atsui_font_glyph_path(void *abstract_font,
GlyphID theGlyph = glyphs[i].index;
- cairo_matrix_set_affine(&info.scale,
- 1.0, 0.0,
- 0.0, 1.0, glyphs[i].x, 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,