Re:Embedded PDF viewer in Firefox 81 supports filling forms
by nostoc on Tuesday September 22, 2020 @02:49PM
(#24558346)
It'll depend on the pdf reader you're using, but I'm pretty sure the PDF header needs to start in the first 1K of the file.
[ Parent
| on HN ]
Re:Embedded PDF viewer in Firefox 81 supports filling forms
by mkl on Tuesday September 22, 2020 @06:20PM
(#24560664)
Some readers won't need a header at all, I think. Near the end (usually!) of the file there's an index of objects (page data etc.) with byte offsets, which can point to anywhere in the file.