Skip to content

Commit

Permalink
Revert "Fix position tracking for XeTeX #353"
Browse files Browse the repository at this point in the history
This reverts commit d0f6660.
  • Loading branch information
hmenke committed Jul 15, 2019
1 parent a927d72 commit 943a0a0
Showing 1 changed file with 15 additions and 24 deletions.
39 changes: 15 additions & 24 deletions tex/generic/pgf/systemlayer/pgfsys-dvipdfmx.def
Original file line number Diff line number Diff line change
Expand Up @@ -86,30 +86,21 @@
\def\pgfsys@hboxsynced#1{%
\pgfsys@begin@idscope%
\pgfsys@beginscope%
\setbox\pgf@hbox=\hbox{%
\hskip\pgf@pt@x%
\raise\pgf@pt@y\hbox{%
\pgf@pt@x=0pt%
\pgf@pt@y=0pt%
\wd#1=0pt%
\ht#1=0pt%
\dp#1=0pt%
\pgflowlevelsynccm%
\special{pdf: content q}%
\pgfsys@invoke{q -1 0 0 -1 0 0 cm}%
\special{pdf: content -1 0 0 -1 0 0 cm q}% \pgfsys@dvipdfmx@suspendcontent
\pgfsys@invoke{0 J [] 0 d}% reset line cap and dash
\pgfsys@dvipdfmx@start@force@reset@color%
\box#1%
\pgfsys@dvipdfmx@stop@force@reset@color%
\pgfsys@invoke{n Q Q Q}% \pgfsys@dvipdfmx@unsuspendcontent
}%
\hss%
}%
\wd\pgf@hbox=0pt%
\ht\pgf@hbox=0pt%
\dp\pgf@hbox=0pt%
\box\pgf@hbox%
\setbox#1=\hbox{\box#1}%
\wd#1=0pt%
\ht#1=0pt%
\dp#1=0pt%
\pgfsys@dvipdfmx@suspendcontent%
\pgfsys@invoke{0 J [] 0 d}% reset line cap and dash
\pgfsys@dvipdfmx@start@force@reset@color%
\pgf@sys@bp@correct\pgf@pt@x%
\pgf@sys@bp@correct\pgf@pt@y%
\special{pdf:btrans matrix \pgf@pt@aa\space \pgf@pt@ab\space \pgf@pt@ba\space \pgf@pt@bb\space
\pgf@sys@tonumber{\pgf@pt@x} \pgf@sys@tonumber{\pgf@pt@y}}%
\box#1%
\special{pdf:etrans}%
\pgfsys@dvipdfmx@stop@force@reset@color%
\pgfsys@dvipdfmx@unsuspendcontent%
\pgfsys@endscope%
\pgfsys@end@idscope%
}
Expand Down

0 comments on commit 943a0a0

Please sign in to comment.