Quantcast
Channel: Adobe Community : Popular Discussions - PDF Language and Specifications
Viewing all articles
Browse latest Browse all 46145

Are CR and LF actually critical in some places?

$
0
0
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.

Viewing all articles
Browse latest Browse all 46145

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>