summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/pgf/version-for-pdftex/pgfmanual-pdftex.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/generic/pgf/version-for-pdftex/pgfmanual-pdftex.cfg')
-rw-r--r--Master/texmf-dist/doc/generic/pgf/version-for-pdftex/pgfmanual-pdftex.cfg7
1 files changed, 1 insertions, 6 deletions
diff --git a/Master/texmf-dist/doc/generic/pgf/version-for-pdftex/pgfmanual-pdftex.cfg b/Master/texmf-dist/doc/generic/pgf/version-for-pdftex/pgfmanual-pdftex.cfg
index 4aa0520888d..bea9f8d862f 100644
--- a/Master/texmf-dist/doc/generic/pgf/version-for-pdftex/pgfmanual-pdftex.cfg
+++ b/Master/texmf-dist/doc/generic/pgf/version-for-pdftex/pgfmanual-pdftex.cfg
@@ -11,12 +11,7 @@
\usepackage[hyphens]{url}
\usepackage[pdfborder={0 0 0}]{hyperref}
\makeatletter
-\g@addto@macro\selectfont{%
- \long\edef\longf@family{\f@family}%
- \ifx\longf@family\ttdefault
- \pdfnoligatures\font\relax
- \fi
-}
+\expandafter\g@addto@macro\csname ttfamily \endcsname{\pdfnoligatures\font\relax}
\makeatother
% Just make sure to compile this using pdfelatex.