texlive[62085] Master/texmf-dist: graphics-def (19feb22)

commits+karl at tug.org commits+karl at tug.org
Sat Feb 19 22:19:55 CET 2022


Revision: 62085
          http://tug.org/svn/texlive?view=revision&revision=62085
Author:   karl
Date:     2022-02-19 22:19:55 +0100 (Sat, 19 Feb 2022)
Log Message:
-----------
graphics-def (19feb22)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/graphics-def/README.md
    trunk/Master/texmf-dist/tex/latex/graphics-def/dvisvgm.def

Modified: trunk/Master/texmf-dist/doc/latex/graphics-def/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/graphics-def/README.md	2022-02-19 14:47:45 UTC (rev 62084)
+++ trunk/Master/texmf-dist/doc/latex/graphics-def/README.md	2022-02-19 21:19:55 UTC (rev 62085)
@@ -1,7 +1,7 @@
 LaTeX support for color and graphics
 ====================================
 
-Release 2022-02-05
+Release 2022-02-19
 
 This bundle contains the 'engine-dependent' part of support for
 color and graphics in LaTeX2e (the code here will also function

Modified: trunk/Master/texmf-dist/tex/latex/graphics-def/dvisvgm.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/graphics-def/dvisvgm.def	2022-02-19 14:47:45 UTC (rev 62084)
+++ trunk/Master/texmf-dist/tex/latex/graphics-def/dvisvgm.def	2022-02-19 21:19:55 UTC (rev 62085)
@@ -16,7 +16,7 @@
 %%
 %% https://github.com/latex3/graphics-def/issues
 %
-\ProvidesFile{dvisvgm.def}[2022/02/05 v1.4 dvisvgm graphics driver for latex]
+\ProvidesFile{dvisvgm.def}[2022/02/19 v1.5 dvisvgm graphics driver for latex]
 % The following is copied from dvips.def:
 \def\GPT at space{ }
 \def\c at lor@arg#1{%
@@ -169,16 +169,16 @@
   \dimen@\Gin at svg@real at height@bp pt%
   \advance\dimen@ by-\Gin at ury pt%
   \edef\Gin at svg@view at base{\strip at pt\dimen@}%
+  \special{dvisvgm:bbox \strip at pt\Gin at req@width pt \strip at pt\Gin at req@height pt transform}%
   \Gin at req@width0.99626\Gin at req@width%
   \Gin at req@height0.99626\Gin at req@height%
   \raise\strip at pt\Gin at req@height bp\hbox{%
     \special{dvisvgm: raw
-      <g transform="translate({?x},{?y})">
+      <g transform="translate({?x},{?y})">%
         <svg overflow="\ifGin at clip hidden\else visible\fi" width="\strip at pt\Gin at req@width" height="\strip at pt\Gin at req@height"
-             viewBox="\Gin at llx\GPT at space\Gin at svg@view at base\GPT at space\Gin at svg@view at width\GPT at space\Gin at svg@view at height">
-          <image width="\Gin at svg@real at width@bp" height="\Gin at svg@real at height@bp"
-                 xlink:href="#1"/>
-        </svg>
+             viewBox="\Gin at llx\GPT at space\Gin at svg@view at base\GPT at space\Gin at svg@view at width\GPT at space\Gin at svg@view at height">%
+          <image width="\Gin at svg@real at width@bp" height="\Gin at svg@real at height@bp" xlink:href="#1"/>%
+        </svg>%
       </g>}%
   }%
 }



More information about the tex-live-commits mailing list.