Skip to content

Commit 1d3535f

Browse files
agrahnmuzimuzhi
authored andcommitted
Update tex/generic/pgf/systemlayer/pgfsys-dvisvgm.def
Co-authored-by: Yukai Chou <muzimuzhi@gmail.com>
1 parent 8b6ee86 commit 1d3535f

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

tex/generic/pgf/systemlayer/pgfsys-dvisvgm.def

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,15 @@
127127
\dp#1=0pt%
128128
\leavevmode%
129129
\pgf@xa=\pgf@trimleft@final\relax \ifdim\pgf@xa=0pt \else\kern\pgf@xa\fi%
130-
\raise-\pgf@ya\hbox{\ifpgf@sys@svg@inpicture\box#1\else\special{dvisvgm:bbox \pgf@sys@tonumber\pgf@picmaxx\space\pgf@sys@tonumber\pgf@picmaxy}\special{dvisvgm:bbox lock}\box#1\special{dvisvgm:bbox unlock}\fi}%
130+
\raise-\pgf@ya\hbox{%
131+
\ifpgf@sys@svg@inpicture
132+
\box#1%
133+
\else
134+
\special{dvisvgm:bbox \pgf@sys@tonumber\pgf@picmaxx\space\pgf@sys@tonumber\pgf@picmaxy}%
135+
\special{dvisvgm:bbox lock}%
136+
\box#1%
137+
\special{dvisvgm:bbox unlock}%
138+
\fi}%
131139
\pgf@xa=\pgf@trimright@final\relax \ifdim\pgf@xa=0pt \else\kern\pgf@xa\fi%
132140
}
133141

0 commit comments

Comments
 (0)