summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/graphics-def/dvisvgm.def
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-06-22 22:35:35 +0000
committerKarl Berry <karl@freefriends.org>2017-06-22 22:35:35 +0000
commitbdb82a6f104d448ea7d31a4f464b8f2af69577ca (patch)
treef7417e221b9dbdfdf45ebb653d27101fa98b04b4 /Master/texmf-dist/tex/latex/graphics-def/dvisvgm.def
parent4f5198bb01193573ab5a6bb085aec64d95b8f9a3 (diff)
graphics-def (21jun17)
git-svn-id: svn://tug.org/texlive/trunk@44668 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/graphics-def/dvisvgm.def')
-rw-r--r--Master/texmf-dist/tex/latex/graphics-def/dvisvgm.def7
1 files changed, 4 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/graphics-def/dvisvgm.def b/Master/texmf-dist/tex/latex/graphics-def/dvisvgm.def
index 2df54162900..e94ec8dc09d 100644
--- a/Master/texmf-dist/tex/latex/graphics-def/dvisvgm.def
+++ b/Master/texmf-dist/tex/latex/graphics-def/dvisvgm.def
@@ -15,7 +15,8 @@
%%
%% https://github.com/latex3/graphics-def/issues
%
-\ProvidesFile{dvisvgm.def}[2017/06/01 v1.0a dvisvgm graphics driver for latex]
+\ProvidesFile{dvisvgm.def}[2017/06/20 v1.0b dvisvgm graphics driver for latex]
+\def\GPT@space{ }
% The following is copied from dvips.def:
\def\c@lor@arg#1{%
\dimen@#1\p@
@@ -91,12 +92,12 @@
\special{dvisvgm: raw
<g transform="translate({?x},{?y})">
<svg overflow="\ifGin@clip hidden\else visible\fi" width="\strip@pt\Gin@req@width" height="\strip@pt\Gin@req@height"
- viewBox="\Gin@llx\space\Gin@svg@view@base\space\Gin@svg@view@width\space\Gin@svg@view@height">
+ viewBox="\Gin@llx\GPT@space\Gin@svg@view@base\GPT@space\Gin@svg@view@width\GPT@space\Gin@svg@view@height">
<image width="\Gin@svg@real@width@bp" height="\Gin@svg@real@height@bp"
xlink:href="#1"/>
</svg>
</g>}%
-% \special{dvisvgm: img \strip@pt\Gin@req@width\space \strip@pt\Gin@req@height\space #1}
+% \special{dvisvgm: img \strip@pt\Gin@req@width\GPT@space \strip@pt\Gin@req@height\GPT@space #1}
}%
}