I have two PDF files that are identical except that one has an odd mix of CR, CR-LF, and LF for line breaks, and the other uses CR-LF exclusively (and has the stream lengths, object offsets, etc. adjusted accordingly). Acrobat (Professional 8 ) is perfectly happy with the file with the odd mix of line breaks (which seems to be close to that I find in files created or saved by Acrobat). When I close the file with all CR-LF, I get asked if I want to save my changes, which I have belatedly realised is Acrobat's quaint way of telling me that the file was malformed in some secret way (would it kill you to provide a syntax error log?). Since the specification says CR, CR-LF, and LF are all equivalent, this is beyond puzzling.
↧