diff options
Diffstat (limited to 'Master/texmf-dist/tex/generic/pgf/libraries/shapes/circuits/pgflibraryshapes.gates.logic.IEC.code.tex')
-rw-r--r-- | Master/texmf-dist/tex/generic/pgf/libraries/shapes/circuits/pgflibraryshapes.gates.logic.IEC.code.tex | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/generic/pgf/libraries/shapes/circuits/pgflibraryshapes.gates.logic.IEC.code.tex b/Master/texmf-dist/tex/generic/pgf/libraries/shapes/circuits/pgflibraryshapes.gates.logic.IEC.code.tex index 69f27e7d0d1..4022cd605d8 100644 --- a/Master/texmf-dist/tex/generic/pgf/libraries/shapes/circuits/pgflibraryshapes.gates.logic.IEC.code.tex +++ b/Master/texmf-dist/tex/generic/pgf/libraries/shapes/circuits/pgflibraryshapes.gates.logic.IEC.code.tex @@ -55,7 +55,13 @@ % % Adjust for the width of the gate symbol. % - \setbox\pgf@hbox\hbox{{\pgfkeysvalueof{/pgf/#1 gate IEC symbol}}}% add braces as color-aftergroup-fix TT + \setbox\pgf@hbox\hbox{% + % wrap in `\pgfinterruptpicture' to restore font, like how `\pgfnode` sets + % `\pgfnodeparttextbox` + \pgfinterruptpicture + {\pgfkeysvalueof{/pgf/#1 gate IEC symbol}}% add braces as color-aftergroup-fix TT + \endpgfinterruptpicture + }% \pgf@xa.5\wd\pgf@hbox% \pgf@ya.5\ht\pgf@hbox% \advance\pgf@ya.5\dp\pgf@hbox% |