diff options
Diffstat (limited to 'Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-dvipdfm.def')
-rw-r--r-- | Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-dvipdfm.def | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-dvipdfm.def b/Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-dvipdfm.def index 4627ba048ce..b97cdc08515 100644 --- a/Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-dvipdfm.def +++ b/Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-dvipdfm.def @@ -7,7 +7,7 @@ % % See the file doc/generic/pgf/licenses/LICENSE for more details. -\ProvidesFileRCS $Header: /cvsroot/pgf/pgf/generic/pgf/systemlayer/pgfsys-dvipdfm.def,v 1.11 2006/10/26 17:19:42 tantau Exp $ +\ProvidesFileRCS $Header: /cvsroot/pgf/pgf/generic/pgf/systemlayer/pgfsys-dvipdfm.def,v 1.14 2007/06/07 07:41:11 tantau Exp $ % Driver commands for dvipdfm @@ -23,10 +23,11 @@ \def\pgfsys@hbox#1{% \special{pdf: content Q q -1 0 0 -1 0 0 cm q}% - \special{pdf: content -1 0 0 -1 0 0 cm q}% translate to original coordinate system - \special{pdf: content 0 0 m W n q}% clip next stuff - {\hbox to 0pt{\pgf@selectfontorig.\hss}}% enforce font change - \special{pdf: content Q}% end of font change enforcement. + \special{pdf: content -1 0 0 -1 0 0 cm 3 Tr q}% translate to + % original coordinate system and do + % not show anything + {\hbox to 0pt{\pgfutil@font@normalfont\pgfutil@selectfont.\hss}}% enforce font change + \special{pdf: content Q 0 Tr q}% end of font change enforcement. \wd#1=0pt% \ht#1=0pt% \dp#1=0pt% @@ -34,9 +35,9 @@ \special{pdf: content Q n Q}% } \def\pgfsys@beginpicture{% - \pgfsys@invoke{1 0 0 1 2000 2000 cm}% - \hbox to 0pt{\selectfont.\hss}% - \pgfsys@invoke{1 0 0 1 -2000 -2000 cm}% + \special{pdf: content Q 3 Tr q}% do not show anything + \hbox to 0pt{\pgfutil@font@normalfont\pgfutil@selectfont.\hss}% enforce font change + \special{pdf: content Q 0 Tr q}% end of font change enforcement. \special{pdf: content q}} \def\pgfsys@endpicture{% \special{pdf: content n Q}% @@ -106,8 +107,8 @@ \pgf@sys@bp@correct{\pgf@y}% \pgf@sys@bp@correct{\pgf@xa}% \pgf@sys@bp@correct{\pgf@ya}% - \@tempdima=2\pgf@max\relax% - \edef\@temp{\noexpand\pgf@sys@atbeginpage{\special{pdf: beginxobj @pgfshade#1 width \the\@tempdima\space height \the\@tempdima}}}\@temp% + \pgfutil@tempdima=2\pgf@max\relax% + \edef\@temp{\noexpand\pgf@sys@atbeginpage{\special{pdf: beginxobj @pgfshade#1 width \the\pgfutil@tempdima\space height \the\pgfutil@tempdima}}}\@temp% \edef\@temp{\noexpand\pgf@sys@atbeginpage{\special{pdf: put @resources << /Shading << /Sh << /ShadingType 3 /ColorSpace /DeviceRGB @@ -118,14 +119,14 @@ \pgf@sys@atbeginpage{\special{pdf: content /Sh sh}% \special{pdf: endxobj}}% \expandafter\xdef\csname @pgfshading#1!\endcsname{% - \hbox to\the\@tempdima{\vbox to\the\@tempdima{\vfil\special{pdf: usexobj @pgfshade#1}}\hfil}}% + \hbox to\the\pgfutil@tempdima{\vbox to\the\pgfutil@tempdima{\vfil\special{pdf: usexobj @pgfshade#1}}\hfil}}% }% }% \def\pgf@sys@atbeginpage#1{\AtBeginDvi{#1}} \AtBeginDocument{% hyperref hack - \providecommand\HyPL@EveryPage{} + \ifx\HyPL@EveryPage\@undefined\def\HyPL@EveryPage{}\fi \def\@begindvi{\unvbox\@begindvibox\HyPL@EveryPage} } |