24 Jan
2018
24 Jan
'18
7:03 a.m.
Hi,
\edef\tenitnumber{\pdffontobjnum\tenit} \message{The font number is \tenitnumber}
\tenitnumber
\bye
I don't have a fix. However, I found the reason. In the example, \tenit is never used for output. But pdftex calls do_pdf_font() for \tenit, as if it is used for output. Thus apparently fails in assert(fo->last_char >= fo->first_char); If I use \tenit for output, I have no errors: \edef\tenitnumber{\pdffontobjnum\tenit} \message{The font number is \tenitnumber} \tenitnumber \tenit 5 \bye Thanks, Akira