How to generate plain-text source-code PDF examples that work in a document viewer?
I just found the post Adobe Forums: Simple Text String Example in specification broken. , so I got interested in finding plain-text source code PDF examples. So, through that post, I eventually found: The webpage PDF Reference and Adobe Extensions to the PDF Specification | Adobe Developer Connection ; which contains: The PDF Document Management – Portable Document Format – Part 1: PDF 1.7, First Edition (PDF32000_2008.pdf) The PDF 1.7 spec has on page 699 appendix "_Annex H (informative) Example PDF files"; and from there, I wanted to try "H.3 Simple Text String Example" (the "classic Hello