Skip to content

Commit

Permalink
Update tex/generic/pgf/systemlayer/pgfsys-dvisvgm.def
Browse files Browse the repository at this point in the history
Co-authored-by: Yukai Chou <[email protected]>
  • Loading branch information
agrahn and muzimuzhi authored Sep 20, 2023
1 parent e4ef1d3 commit 60a017a
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion tex/generic/pgf/systemlayer/pgfsys-dvisvgm.def
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,15 @@
\dp#1=0pt%
\leavevmode%
\pgf@xa=\pgf@trimleft@final\relax \ifdim\pgf@xa=0pt \else\kern\pgf@xa\fi%
\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}%
\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}%
\pgf@xa=\pgf@trimright@final\relax \ifdim\pgf@xa=0pt \else\kern\pgf@xa\fi%
}

Expand Down

0 comments on commit 60a017a

Please sign in to comment.