diff options
Diffstat (limited to 'tex/context/base/enco-pfr.tex')
-rw-r--r-- | tex/context/base/enco-pfr.tex | 27 |
1 files changed, 20 insertions, 7 deletions
diff --git a/tex/context/base/enco-pfr.tex b/tex/context/base/enco-pfr.tex index 8f3d4cef7..a74a8c6a7 100644 --- a/tex/context/base/enco-pfr.tex +++ b/tex/context/base/enco-pfr.tex @@ -153,15 +153,28 @@ \appendtoksonce \includepdffontresource \to \everyfont +% \def\includepdffontresource +% {\ifincludepdffontresources +% \ifx\pdffontattr\undefined +% % we're not using (a recent version of) pdftex +% \else\ifcase\pdfoutput +% % we're not in pdf mode +% \else +% \doincludepdffontresource +% \fi\fi +% \fi} + \def\includepdffontresource {\ifincludepdffontresources - \ifx\pdffontattr\undefined - % we're not using (a recent version of) pdftex - \else\ifcase\pdfoutput - % we're not in pdf mode - \else - \doincludepdffontresource - \fi\fi + \expandafter\ifx\the\font\nullfont \else + \ifx\pdffontattr\undefined + % we're not using (a recent version of) pdftex + \else\ifcase\pdfoutput + % we're not in pdf mode + \else + \doincludepdffontresource + \fi\fi + \fi \fi} \def\dododoincludepdffontresource#1% encoding |