summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkira Kakuto <kakuto@fuk.kindai.ac.jp>2016-11-23 07:22:37 +0000
committerAkira Kakuto <kakuto@fuk.kindai.ac.jp>2016-11-23 07:22:37 +0000
commit3a80bf850c5c0356dc20941cb0b442217a2dd515 (patch)
treeb026eb3ace3404e7a6ee23d53f2a08cd29087635
parentbf67544c029cbd4c493daf27d9d1457827df6d2a (diff)
mplibdir: sync with the upstream
git-svn-id: svn://tug.org/texlive/trunk@42560 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Build/source/texk/web2c/mplibdir/pngout.w2
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/source/texk/web2c/mplibdir/pngout.w b/Build/source/texk/web2c/mplibdir/pngout.w
index 2593a372f33..1b725d0575f 100644
--- a/Build/source/texk/web2c/mplibdir/pngout.w
+++ b/Build/source/texk/web2c/mplibdir/pngout.w
@@ -548,8 +548,8 @@ void mp_png_stroke_out (MP mp, mp_graphic_object *h,
cairo_set_miter_limit(mp->png->cr,gr_miterlim_val((mp_stroked_object *)h));
mp_png_path_out(mp, gr_path_p((mp_stroked_object *)h));
if (transformed) {
- cairo_save(mp->png->cr);
cairo_matrix_t matrix = {0,0,0,0,0,0};
+ cairo_save(mp->png->cr);
cairo_matrix_init(&matrix, pen->sx, pen->rx, pen->ry, pen->sy, pen->tx, pen->ty);
cairo_transform (mp->png->cr, &matrix);
cairo_stroke (mp->png->cr);