Pdf Header Format Question
hello, have question pdf header. have noticed have pdf's have header "%pdf-1.3\r\n", note header has both carraige return , line feed (\r\n). have other pdf's header "%pdf-1.5\r", has carraige return , no line feed. header without line feed still valid? have done page extracts adobe acrobat pro (v 8.1.0) , noticed when saving page extracts adobe software creates header without line feed character, i'm guessing valid confirmation. thank time.
this described in section 7.5 of pdf spec (file structure). in
7.5.1 (general), you'll find following line endings: "each
line shall terminated end-of-line (eol) marker, may a
carriage return (0dh), line feed (0ah), or both. "
so, can use 1 of 3 different methods of ending line: \r, \n
or \r\n
karl heinz kremer
pdf acrobatics without net
pdf software development, training , more...
More discussions in PDF Language and Specifications
adobe
Comments
Post a Comment