# [pdftex] Font (embedding) problem

Marcel Korpel marcel.lists at gmail.com
Mon Mar 26 00:15:28 CEST 2007

On 23/03/07, Reinhard Kotucha <reinhard.kotucha at web.de> wrote:
> Please provide a small .tex file (one which does not use many
> different fonts) which shows this problem.

It's rather difficult to explain it this way, but I'll try. For
instance, I use the open type font Garamond. It comes with many
different flavours in one file: e.g., it contains superscript
characters, old-style figures and lining figures.

Using LCDF-tools I created one big PFB-file and several encoding
files. I can embed those fonts using

\font\rm=Garamond at 11pt
\font\rmtb=Garamond-TableFigures at 11pt
\font\su=Garamond-Superscripts at 11pt

\rm These 12 things are nice to learn.{\su 3}

Because these fonts are all embedded using the same PFB-file, the
resulting PDF-file contains several instances of 'Garamond'. Some
printers only use the first instance (with old-style figures) for all
1's, while the 3's are all printed as lining figures, indepent of
which flavour I chose. In short, the printer just choses one flavour
(one encoding) for each character. I want to stress this is only what
this printer prints, on the screen and on several printers things are
shown correctly.

Of course, this IS a printer bug, but as some of the people who read
my texts use those printers, I would like to solve this (and using
Ghostscript I actually solved it, but it is a bit cumbersome, of
course).

I hope this clarifies something.

Regards,
Marcel