Wuffs: Wrangling Untrusted File Formats Safely
71–73 of 73 posts
Re: Wuffs: Wrangling Untrusted File Formats Safely
#72I would be glad to have a try but the language specification and documentation is almost non existent.
Re: Wuffs: Wrangling Untrusted File Formats Safely
#73Earlier quoted context omitted.
pdfs are really really hard. the only viewer that parses them semi-correctly is ... Acrobat Reader. try to ever read any code for PDFs and see all the horrors. Google gave up and just bought the code from foxit.
Google was never trying to write PDF reader from scratch so they never "gave up". They just bought foxit code to save years of development when they wanted to ship PDF reader in Chrome. Your comment about "the only viewer that is semi-correct" is also wildly off the mark. Parsing correctly written PDF files is hard but multiple engines can do it correctly. Parsing real life PDFs is much harder then correctly implemen…
edit: it seems Summatra doesn't support PDF forms? Either AcroForms or XFA forms?