texlive[65595] Build/source/texk/web2c/mplibdir: MetaPost: svg->dx,
commits+lscarso at tug.org
commits+lscarso at tug.org
Fri Jan 20 13:53:04 CET 2023
Revision: 65595
http://tug.org/svn/texlive?view=revision&revision=65595
Author: lscarso
Date: 2023-01-20 13:53:03 +0100 (Fri, 20 Jan 2023)
Log Message:
-----------
MetaPost: svg->dx, svg->dy are now double (better precision).
Modified Paths:
--------------
trunk/Build/source/texk/web2c/mplibdir/ChangeLog
trunk/Build/source/texk/web2c/mplibdir/svgout.w
Modified: trunk/Build/source/texk/web2c/mplibdir/ChangeLog
===================================================================
--- trunk/Build/source/texk/web2c/mplibdir/ChangeLog 2023-01-20 01:58:48 UTC (rev 65594)
+++ trunk/Build/source/texk/web2c/mplibdir/ChangeLog 2023-01-20 12:53:03 UTC (rev 65595)
@@ -1,3 +1,6 @@
+2023-01-19 Luigi Scarso <luigi.scarso at gmail.com>
+ * MetaPost: svg->dx, svg->dy are now double (better precision) .
+
2022-07-31 Luigi Scarso <luigi.scarso at gmail.com>
* MetaPost: Working on the file extension (work in progress).
Modified: trunk/Build/source/texk/web2c/mplibdir/svgout.w
===================================================================
--- trunk/Build/source/texk/web2c/mplibdir/svgout.w 2023-01-20 01:58:48 UTC (rev 65594)
+++ trunk/Build/source/texk/web2c/mplibdir/svgout.w 2023-01-20 12:53:03 UTC (rev 65595)
@@ -382,9 +382,10 @@
the initial |<svg>| tag, and are stored in two globals:
@<Globals@>=
-integer dx;
-integer dy;
+double dx;
+double dy;
+
@ @c
void mp_svg_pair_out (MP mp,double x, double y) {
mp_svg_store_double(mp, (x+mp->svg->dx));
More information about the tex-live-commits
mailing list.