| <<<Back 1 day (to 2019/07/16) | Fwd 1 day (to 2019/07/18) >>> | 20190717 |
ldiamond | I can't seem to print a text file using a font other than what's in enscript by default. | 01:39.07 |
chrisl | ldiamond: That's probably a question for the enscript developers. It's possible it only allows selecting one of the "base" Postscript fonts | 06:36.17 |
kens | guanche, that's a Form XObject, you can only open it with Acrobat. | 08:01.16 |
| Bah, I mean an XML Form. | 08:03.43 |
| Its not PDF its XML wrapped up in a PDF, the PDF bit just has enough content to say 'you need Acrobat' | 08:04.05 |
voices | can you read pdfs like an ordinary text file? | 20:41.43 |
| is it just when its compressed that its all giberish | 20:42.13 |
| it should be like postscript, kind of. right? | 20:42.39 |
camelopard | voices: You can read it if you have a good reader. The file will be more interesting if you decompress content streams.. | 21:41.45 |
| You can use pdfinflt.ps from old versions of Ghostscript. | 21:43.52 |
| I like to use mcedit because it doesn't spoil binary files. | 21:45.55 |
| You can also patch PDF by hand and fix the offsets using pdfinflt.ps . | 21:47.34 |
voices | camelopard: but its only binary whn its compressed right? | 21:53.47 |
| because if i use vim or strings to read a pdf, some of it is plaintext, other bits are, well it looks like when you try to read a binary or modern ciphertext | 21:54.49 |
camelopard | Yes, compressed streams use all values of the byte. | 21:55.21 |
| Use gs -I/path/to/lib -- /path/to/pdfinflt.ps src.pdf dst.pdf | 21:57.55 |
| <<<Back 1 day (to 2019/07/16) | Forward 1 day (to 2019/07/18)>>> | |