[pdftex] Incredibly PDF filesize difference by pdflatex compared to ps2pdf

Reinhard Kotucha reinhard.kotucha at web.de
Fri Jun 18 00:49:00 CEST 2004


>>>>> "Hans" == Hans Hagen Outside <pragma at wxs.nl> writes:

    >> It is a subset.  I wonder whether an external program is able
    >> to perform subsetting.  Only TeX knows which glyphs are needed,
    >> so subsetting cannot be done by an external program.
    >> 
    >> 
    > you can use gs to convert pdf to pdf and then subsetting can be
    > turned on; i don't know how well this works for embedded fonts;
    > e.g. i can even imagine embedded fonts with similar names but
    > different glyphs so any merge of them could mean troubles

I did.  The pdf file produced by pdftex and post-processed by gs had
the same size as Rob's file produced by tex->dvips->gs.

The different file sizes obviously are caused by the subroutines
(which are removed by gs).

The output of dvips obviously contains the unmodified Type1 font.  In
this case gs (ps2pdf) performs subsetting.

The font I extracted from the dvips output file looks good.  


pdftex reads a .pfb file, 

  C:\localtexmf\fonts\type1\lcdftools\MinionPro\MinionPro-It.pfb

in this case.  (It's always a good idea to make the .log files
available :) 


###############################################################

If this is the same file which is read by dvips, then pdftex is
broken.

###############################################################


Rob, can you run dvips again and look at what it prints on screen?
Does it load the following file?

  C:\localtexmf\fonts\type1\lcdftools\MinionPro\MinionPro-It.pfb

Regards,
  Reinhard

-- 
----------------------------------------------------------------------------
Reinhard Kotucha			              Phone: +49-511-4592165
Marschnerstr. 25
D-30167 Hannover	                      mailto:reinhard.kotucha at web.de
----------------------------------------------------------------------------
Microsoft isn't the answer. Microsoft is the question, and the answer is NO.
----------------------------------------------------------------------------




More information about the pdftex mailing list