[pdftex] Question about \pdfincludechars
Gregory Heytings
ghe at sdf.org
Sat Aug 20 10:27:26 CEST 2016
Hi,
I'm trying to design a macro to include a complete font in a PDF. I tried
the following macro:
\def\includefont#1{
\count10=0
\font\f=#1
\loop
\ifnum\count10<256
\pdfincludechars\f{\char\count10}
\advance\count10by1
\repeat
}
However, instead of including all characters as I would have expected, it
includes '\', 'c', 'h', 'a', 'r', ...
I tried a number of other ways, but none of them seems to work. How could
this be done?
Thanks,
Gregory
More information about the pdftex
mailing list