[pdftex] Font Embedding and Font Substitutions
Paarvai Naai
opensource3141 at gmail.com
Mon Nov 27 22:53:50 CET 2006
Hi Hartmut,
Thanks for the quick response.
I see...that makes sense I guess. Adobe Acrobat Reader must
only be listing the fontfile objects while pdffonts lists the font
descriptor objects. The former doesn't show the repetition (in
the Document Properties dialog) that the latter does.
One more question: I see that the font substitution changes
what was a Type 1C font in the image PDF files into a Type 1
font in the main document PDF. Is this more inefficient since
Type 1C is "compressed" in some way?
Thanks again,
Paarvai
On 11/27/06, Hartmut Henkel <hartmut_henkel at gmx.de> wrote:
>
> On Mon, 27 Nov 2006, Paarvai Naai wrote:
>
> > I have a question regarding pdflatex's font embedding and font
> > substitution. I have a latex file that includes two graphics.
> > pdffonts returns the following on each:
> >
> > name type emb sub uni object ID
> > ------------------------------------ ------------ --- --- --- ---------
> > GXJYGS+CMMI10 Type 1C yes yes no 11 0
> > QAKHSM+CMMI7 Type 1C yes yes no 13 0
> >
> > name type emb sub uni object ID
> > ------------------------------------ ------------ --- --- --- ---------
> > CPKLQV+CMMI7 Type 1C yes yes no 19 0
> > EKIDYN+CMMI10 Type 1C yes yes no 11 0
> >
> > Then I run pdflatex on my latex file and get an ouput that shows the
> > following with pdffonts:
> >
> > name type emb sub uni object ID
> > ------------------------------------ ------------ --- --- --- ---------
> > EIOZYT+CMMI10 Type 1 yes yes no 31 0
> > PMUOFJ+CMMI7 Type 1 yes yes no 282 0
> > EIOZYT+CMMI10 Type 1 yes yes no 982 0
> > PMUOFJ+CMMI7 Type 1 yes yes no 985 0
> > PMUOFJ+CMMI7 Type 1 yes yes no 1022 0
> > EIOZYT+CMMI10 Type 1 yes yes no 1031 0
> >
> > So it's great that the CMMI7 and CMMI10 fonts have been consolidated
> > (note how they all have the same prefix). However, they still show up
> > twice in pdffonts. So what does this mean? It seems like everything
> > should have been consolidated to only show up once.
>
> it could be like this, but optimization currently just doesn't go that
> far. E. g. when embedding PDF files, each font call still produces one
> separate font dictionary and one font descriptor object. Currently only
> the fontfile stream objects are optimized in that one embedded subsetted
> fontfile can collect all glyphs from several fonts. In this case several
> font descriptor objects point to the same fontfile object.
>
> > I am using gs 8.54 and epstopdf to create the two images and pdflatex
> > 1.40beta to generate the final document.
>
> Regards, Hartmut
>
More information about the pdftex
mailing list