Is there a bug in switching body fonts?
Hi all, I try to use two different postscript font families. The first family uses the Acrobat fonts without embedding and without reencoding whereas the second family uses the Acrobat fonts without embedding but with reencoding. For that means I wrote the typescript file below. When I use the first family only everything works fine. Similarly, if I use the second family only everything also works fine. Yet, if I try to switch the body font in a document I get the following error message: ! Font \nullfont has only 7 fontdimen parameters. <to be read again> \advance \dohighlow ...#2\textfont 2\else #3ex\fi \advance \scratchdimen #4ex \kern .... \dogotofixed ...c!color {#1\presetgoto }}}\else #1 \fi } \doifreferencefoundelse ...ce \ifreferencefound #2 \else #3\fi \egroup \dores... \gotobox ...2]} {\hbox {\unknownreference {#2}#1}} \referentieinfo {<}{#2}\eg... <argument> ...}[\s!fnt :t:\internalfootreference ] \rawreference \s!fnt {\s!f... ... l.27 {\ss Helvetica\par\ShowVariants } Can anyone help me with this problem? Best regards, --Stefan The test document ================= \enableregime[il1] \setupencoding[default=texnansi] \setupoutput[pdftex] \pdfoptionpdfminorversion 4 \usetypescriptfile[smallpdf.tex] \usetypescript[reencode][texnansi][texnansi] \usetypescript[postscript][texnansi] \usetypescript[builtInPostscript][texnansi] \setupbodyfont[postscript,sans,30pt] \mainlanguage[de] \setupheadertexts[] \def\Show{This is a test.\footnote{Fußnote.} 45\char176 \quotedblbase äöüßÄÖÜ\quotedblleft} \def\ShowVariants{\Show\par{\bf\Show}\par{\it\Show}\par{\bi\Show}\par} \starttext\pdfmapfile{+smallpdf.map} {\ss Helvetica\par\ShowVariants} {\rm Times-Roman\par\ShowVariants} {\tt Courier\par\ShowVariants} \switchtobodyfont[builtInPostscript] % causes error an error {\ss Helvetica\par\ShowVariants} % line 27 {\rm Times-Roman\par\ShowVariants} {\tt Courier\par\ShowVariants} \stoptext
participants (1)
-
Stefan Wachter