Question about \pdfincludechars

Gregory Heytings <[email protected]>
Newsgroups gmane.comp.tex.pdftex
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.