4 ms·
Correction: last I checked, they didn't write the PDF renderer themselves, it is Google's PDFium[1] which was open-sourced a while ago. Before they were using
by mpweiher 9y ago
Correction: last I checked, they didn't write the PDF renderer themselves, it is Google's PDFium[1] which was open-sourced a while ago. Before they were using Apple's built in PDF engine, but apparently that had too many bugs for them.
It does not do Postscript, the "PS" in PSPDFKit are the initials of the creator, Peter Steinberger (really nice guy, by the way!). Two/three letter prefixes are common in Objective-C as there are no namespaces (I use MPW).
[1] https://pdfium.googlesource.com https://pdfium.googlesource.com
- flavio81 9y agoThanks, i thought PS stood for "postscript"!
- favorited 9y agoBased on Peter's blog post[0] a few years ago, I was under the impression they wrote their own. Maybe steipete can chime in? [0]https://pspdfkit.com/blog/2016/a-pragmatic-approach-to-cross-platform/ https://pspdfkit.com/blog/2016/a-pragmatic-approach-to-cross...
- mpweiher 9y agoHmmm...don't remember where I got that information from, so I could well be remembering wrong. I do see that pspdfkit folk are active in the pdfium bug tracker, for example: https://bugs.chromium.org/p/pdfium/issues/detail?id=641 https://bugs.chromium.org/p/pdfium/issues/detail?id=641 That sounds like a production problem, but it could just as well be them trying it out.
- eridius 9y agoIt's certainly quite plausible that they compare their behavior with other engines, and then file bugs on those other engines if they find them.
- robocop2018 9y agompweiher, you are correct! PSPDF is a pdfium lipstick. You can find its license in binary sdk-s or simply ask them. Included or derived work must be disclosed! Also using the pdfium via Enscripten is not news (https://github.com/coolwanglu/PDFium.js https://github.com/coolwanglu/PDFium.js is 3 years old). On commercial, battle tested side PDFTron offers PDFNetJS & WebViewer for years https://blog.pdftron.com/2015/11/10/pdfnetjs-html5-pdf-viewer-and-editor/ https://blog.pdftron.com/2015/11/10/pdfnetjs-html5-pdf-viewe... (http://xodo.com/app http://xodo.com/app is the demo referenced in the presentation).