3 ms·
Yes just use a hex editor and every data is text-based.
by xfer 6y ago
Yes just use a hex editor and every data is text-based.
- mkl 6y agoOnly the "binary" bits like fonts and bitmap images would need to be hex (and then only so Notepad doesn't mangle them). Everything else in an uncompressed PDF is already text. Go here and download the PDF spec.: https://www.adobe.com/devnet/pdf/pdf_reference.html https://www.adobe.com/devnet/pdf/pdf_reference.html Look at Chapter 3, Syntax (and the rest of it, really). I literally have scripts that use bash and sed, or Python, to modify PDFs by editing the text code. Doing it in Notepad is possible but tricky, as there's a table of object byte offsets near the end that it's easy to mess up by inserting a character.