>> $ echo 'Hello, world.' | groff -T pdf -P -d
>>
>> reveals a PostScript-like language, with unfortunate occasional recourse
>> to non-printable characters.
> The ps-like page description language inside page streams is not the
> problem. The structure of the pdf file that relies on file offsets
> is. See the startxref at the end of the file, xref table at the
> specified offset, and the list of offsets to pdf objects that follows.
On top of that, it isn't a text file. My editor barfed:
"warning: null characters elided; file will be different upon write"
So when I asked the editor to go to the xref position, it missed.
Doug