diff options
author | Luigi Scarso <luigi.scarso@gmail.com> | 2023-01-20 12:53:03 +0000 |
---|---|---|
committer | Luigi Scarso <luigi.scarso@gmail.com> | 2023-01-20 12:53:03 +0000 |
commit | 9d49f291ecd3fa7fb505b89c9f4901577c4017b1 (patch) | |
tree | 067f2944f0934893a064cc2603133bfe1c6b77bd /Build/source/texk/web2c | |
parent | 9968824d57b807a78829507b86d1d458dec1a697 (diff) |
MetaPost: svg->dx, svg->dy are now double (better precision).
git-svn-id: svn://tug.org/texlive/trunk@65595 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c')
-rw-r--r-- | Build/source/texk/web2c/mplibdir/ChangeLog | 3 | ||||
-rw-r--r-- | Build/source/texk/web2c/mplibdir/svgout.w | 5 |
2 files changed, 6 insertions, 2 deletions
diff --git a/Build/source/texk/web2c/mplibdir/ChangeLog b/Build/source/texk/web2c/mplibdir/ChangeLog index 55ab2c8571e..e1c385f3d4c 100644 --- a/Build/source/texk/web2c/mplibdir/ChangeLog +++ b/Build/source/texk/web2c/mplibdir/ChangeLog @@ -1,3 +1,6 @@ +2023-01-19 Luigi Scarso <luigi.scarso@gmail.com> + * MetaPost: svg->dx, svg->dy are now double (better precision) . + 2022-07-31 Luigi Scarso <luigi.scarso@gmail.com> * MetaPost: Working on the file extension (work in progress). diff --git a/Build/source/texk/web2c/mplibdir/svgout.w b/Build/source/texk/web2c/mplibdir/svgout.w index 3c35d55933b..b1a74049582 100644 --- a/Build/source/texk/web2c/mplibdir/svgout.w +++ b/Build/source/texk/web2c/mplibdir/svgout.w @@ -382,8 +382,9 @@ The two correction values are calculated by the function that writes 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) { |