Gregory Heytings
2016-08-20 08:27:26 UTC
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
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