[NTG-pdftex] gs problem

Reinhard Kotucha reinhard.kotucha at web.de
Mon Oct 25 23:53:14 CEST 2004

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

    > hm, i found out that when for instance afm files have lines
    > longer than 256, some programs break on it so either we have to
    > do with fuzzy specs, or rumoured lengths, or lousy programming

This is described in
on page 10:

   | Comments can be present in an AFM file. They are introduced
   | by the keyword Comment and are terminated by the end of
   | line. Lines are no longer than 255 characters long.

    >> The PostScript Language Reference Manual (Appendix B) describes
    >> PS interpreter requirements.  According to this, any PS
    >> interpreter should be able to handle strings of least 65535
    >> bytes.

    > Interesting, i wonder why gs has limitations then; what does the
    > spec say about unknown %%comments? GS breaks on them each time
    > adobe adds a new undocumented one.

page 21:

   | A non-conforming document is recognized by the %! header
   | comment. Under no circumstances should a non-conforming
   | document use the %!PS-Adobe-3.0 header comment.


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 ntg-pdftex mailing list