[pdftex] Question about \pdfincludechars

Gregory Heytings ghe at sdf.org
Sun Aug 21 16:05:14 CEST 2016


For the record, I answer my own question.

To force inclusion of all characters of a font, one can use the following 
macro:

{\catcode`\^^@=11
\gdef\pdfincludefont#1{
   \begingroup
     \font\f=#1
     \pdfincludechars\f{^^@}
     \count10=1
     \loop
     \ifnum\count10<256
       \lccode`\!=\count10
       \lowercase{\pdfincludechars\f{!}}
       \advance\count10by1
     \repeat
   \endgroup
}}

Gregory


More information about the pdftex mailing list