3 ms·
Where did I say PDFs have to be in text format? I said every PDF has an equivalent text-only representation. The format, like postscript and eps started as text
by Someone 6y ago
Where did I say PDFs have to be in text format? I said every PDF has an equivalent text-only representation. The format, like postscript and eps started as text-only. Compression, making the files binary was added as an afterthought, to make files smaller (much smaller). If it were binary from the start, its designers would not have made the table of contents at the end waste bytes by writing offsets in ascii.
See http://blog.idrsolutions.com/?s=%22Make+your+own+PDF+file http://blog.idrsolutions.com/?s=%22Make+your+own+PDF+file for more info on how to write PDF by hand (also shows why I said you have to be stubborn to do that)
- belval 6y ago"OK, they added various ways of data compression, but PDF is, basically, a text-based format." You are trying to move the goal post here. The above statement is simply untrue, PDF is not a text based format and it's that simple.