[NTG-pdftex] Re: easy font expansion

The Thanh Han The Thanh Han <hanthethanh@myrealbox.com>
Sat, 8 May 2004 14:08:32 +0700


On Sat, May 08, 2004 at 07:18:58AM +0900, Akira Kakuto wrote:
> Dear Reinhard,
> 
> >     > If I use hz for base 14 fonts, pdf[ex]TeX crashes.  But, if base
> >     > 14 fonts are embedded by changing pdftex.map like ptmr8r
> >     > Times-Roman "TeXBase1Encoding ReEncodeFont" <8r.enc
> >     > --->
> >     > ptmr8r "TeXBase1Encoding ReEncodeFont" <8r.enc <utmr8a.pfb hz
> >     > can be used for base 14 fonts.
> > 
> > This is a limitation of PDF, not pdftex.
> > 
> > In a pdf document you cannot change the FontMatrix as you can do in
> > PostScript.  Therefore pdftex has to manipulate the font itself when
> > it is inserted.  If you run pdffonts (from xpdf) on your pdf file
> > you'll see that the same font is embedded for each expansion step.
> > 
> > It is certainly mentioned in the pdftex manual.  If not, complain.
> 
> Thanks a lot.
> 
> It will be better for pdf[ex]TeX to exit with an error message
> without causing access violation, when a user calls hz without
> embedding relevant fonts.

yes you are right, pdftex should not segfault but exit with an error
message. I will look at it.

Regards,
Thanh