[NTG-pdftex] Errorhandling (was: \pdfmapfile-Patch)
Sun, 16 Nov 2003 21:02:48 +0100
At 17:35 15/11/2003, Hartmut Henkel wrote:
>On Tue, 11 Nov 2003, Martin Schr=F6der wrote:
> > We need much better error handling and error reporting in these
> > cases.
> > I propose another internal integer: \pdffonterrorlevel.
> > 0 is the current behaviour, which will just produce warnings :-(
> > 1 gives an error when a pfb can not be found or a mapfile can
> > not be read or something else goes wrong. :-)
>Isn't a missing pfb file always a fail, as the PDF-file would be broken
>without it anyway, and one would have to repair something? If so, why
>not write in t1_open_fontfile() of writet1.c instead of the warning:
> if (!t1_open())
> pdftex_fail("cannot open Type 1 font file for reading");
>Or is there a case where a warning still would be ok?
for text fonts it may be that acrobat can fall back on one of the built in=
fonts (it often takes courier for that) which makes the files invalid but=20