texlive[42558] Build/source/texk/web2c/mplibdir/pngout.w: mplibdir:
commits+kakuto at tug.org
commits+kakuto at tug.org
Wed Nov 23 00:02:15 CET 2016
Revision: 42558
http://tug.org/svn/texlive?view=revision&revision=42558
Author: kakuto
Date: 2016-11-23 00:02:15 +0100 (Wed, 23 Nov 2016)
Log Message:
-----------
mplibdir: sync with the upstream
Modified Paths:
--------------
trunk/Build/source/texk/web2c/mplibdir/pngout.w
Modified: trunk/Build/source/texk/web2c/mplibdir/pngout.w
===================================================================
--- trunk/Build/source/texk/web2c/mplibdir/pngout.w 2016-11-22 22:50:32 UTC (rev 42557)
+++ trunk/Build/source/texk/web2c/mplibdir/pngout.w 2016-11-22 23:02:15 UTC (rev 42558)
@@ -546,13 +546,17 @@
}
}
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_matrix_init(&matrix, pen->sx, pen->rx, pen->ry, pen->sy, pen->tx, pen->ty);
cairo_transform (mp->png->cr, &matrix);
- }
- mp_png_path_out(mp, gr_path_p((mp_stroked_object *)h));
- cairo_stroke (mp->png->cr);
+ cairo_stroke (mp->png->cr);
+ cairo_restore(mp->png->cr);
+ } else {
+ cairo_stroke (mp->png->cr);
+ }
cairo_restore(mp->png->cr);
}
More information about the tex-live-commits
mailing list