% $Id: test-fontobjnum.tex 793 2018-01-25 23:21:29Z karl $
% Public domain.

\catcode`\{=1 \catcode`\}=2
\font\tenit = /usr/local/texlive/2017/texmf-dist/fonts/tfm/public/cm/cmti10.tfm
\edef\tenitnumber{\pdffontobjnum\tenit}
\message{fontobjnum=\tenitnumber}
\tenitnumber
\end
