diff options
Diffstat (limited to 'tex/context/base/enco-pfr.tex')
-rw-r--r-- | tex/context/base/enco-pfr.tex | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/tex/context/base/enco-pfr.tex b/tex/context/base/enco-pfr.tex index 9507d9e4e..faa8a85b1 100644 --- a/tex/context/base/enco-pfr.tex +++ b/tex/context/base/enco-pfr.tex @@ -164,7 +164,7 @@ \def\dododoincludepdffontresource#1% encoding {\bgroup - \def\currentencoding{#1}% + \edef\currentencoding{#1}% \doifvaluesomething\pdffontfileresource {\startreadingfile \readsysfile{pdfr-\getvalue\pdffontfileresource}\donothing\donothing @@ -190,9 +190,10 @@ \doifsomething\pdffontfileresource {\pdfobj reserveobjnum {}% \setxvalue\pdffontresource{\the\pdflastobj}% - \doglobal\appendetoks - \noexpand\dododoincludepdffontresource{\currentencoding}% - \to \everybeforeshipout}% prevent multiple loading + \flushatshipout{\dododoincludepdffontresource{\currentencoding}}}% +% \doglobal\appendetoks +% \noexpand\dododoincludepdffontresource{\currentencoding}% +% \to \everybeforeshipout}% prevent multiple loading \fi\fi \ifcsname\pdffontresource\endcsname \expanded{\pdffontattr\font{/ToUnicode \csname\pdffontresource\endcsname\space0 R}}% @@ -200,6 +201,7 @@ \letgvalue{\s!ucmap\fontfile}\empty \fi}} + \endETEX \beginTEX @@ -216,9 +218,10 @@ \doifsomething\pdffontfileresource {\pdfobj reserveobjnum {}% \setxvalue\pdffontresource{\the\pdflastobj}% - \doglobal\appendetoks - \noexpand\dododoincludepdffontresource{\currentencoding}% - \to \everybeforeshipout}% prevent multiple loading + \flushatshipout{\dododoincludepdffontresource{\currentencoding}}}% +% \doglobal\appendetoks +% \noexpand\dododoincludepdffontresource{\currentencoding}% +% \to \everybeforeshipout}% prevent multiple loading \fi \fi \expandafter\ifx\csname\pdffontresource\endcsname\relax\else |