diff options
Diffstat (limited to 'tex/context/base/enco-pfr.tex')
-rw-r--r-- | tex/context/base/enco-pfr.tex | 22 |
1 files changed, 15 insertions, 7 deletions
diff --git a/tex/context/base/enco-pfr.tex b/tex/context/base/enco-pfr.tex index ee9857a0e..9e1e853b5 100644 --- a/tex/context/base/enco-pfr.tex +++ b/tex/context/base/enco-pfr.tex @@ -124,7 +124,7 @@ {\donefalse % we use boolean due to \par \doifundefined{\pdffontresource}% should be \long {\doif{#1}{\currentencoding}{\donetrue}}% - \ifdone + \ifdone % pdftex ! \immediate\pdfobj stream {#2}% \setxvalue{\pdffontresource}{\the\pdflastobj}% \fi} @@ -189,7 +189,7 @@ \dodoincludepdffontresource \fi} -\def\dodoincludepdffontresource% +\def\dodoincludepdffontresource {\ifx\currentencoding\empty \else \ifx\currentencoding\s!default \else \@EA\ifx\csname\pdffontfileresource\endcsname\relax\else \edef\xpdffontfileresource{\csname\pdffontfileresource\endcsname}% @@ -209,13 +209,21 @@ \endTEX - %D For the moment, we keep this definition here, if only %D because \type {\usepdffontencoding} is not defined in the -%D core. In the end, this will go to enco-il2. +%D core. In the end, this will go to \type {enco-*.tex}. +%D +%D Test: +%D +%D \starttyping +%D \useencoding[pfr] \usetypescript[palatino][ec] \setupbodyfont[palatino] +%D +%D \starttext +%D fi ff ffi +%D \stoptext +%D \stoptyping -\startencoding [il2] - \usepdffontresource il2 -\stopencoding +\startencoding [il2] \usepdffontresource il2 \stopencoding +\startencoding [ec] \usepdffontresource ec \stopencoding \protect \endinput |