"Hans" == Hans Hagen
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 http://partners.adobe.com/asn/developer/pdfs/tn/5004.AFM_Spec.pdf 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. From http://partners.adobe.com/asn/developer/PDFS/TN/5001.DSC_Spec.pdf 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. Regards, Reinhard -- ---------------------------------------------------------------------------- Reinhard Kotucha Phone: +49-511-4592165 Marschnerstr. 25 D-30167 Hannover mailto:reinhard.kotucha@web.de ---------------------------------------------------------------------------- Microsoft isn't the answer. Microsoft is the question, and the answer is NO. ----------------------------------------------------------------------------