Unofficial Hacker News companion — get notified on comment replies, and more.

Show HN: Pryzmera – Fast PDF viewer fully rendering on the GPU (opens external site)

170 points by RedMindZ 2 days ago pryzmera.com 69 comments (opens Hacker News) Vote (opens Hacker News)

View full thread · View on Hacker News

Comment thread (2)

  1. You mention mupdf (which is what I use as the basis for my wrapper around it) that you use as the comparison for testing. How does it compare to that?

    Also on a safety note, are you excluding the exploit vulnerable parts of PDF support?

    Replies (1)
    1. When you ask about a comparison to MuPDF, it depends on the dimension you are talking about.

      If you refer to the accuracy of rendering, it is effectively identical on my test suite up to minor differences in anti-aliasing and such; I gave a more detailed answer in another comment.

      If you refer to rendering performance (FPS), then it is hundreds to thousands of times faster, although I don't have exact benchmarks; I talked about it some more in the comment asking about SumatraPDF.

      As for safety, I have to be honest and say that I have not paid much attention to it specifically. I am using Rust, and I utilize the type system as much as I can to ensure all cases are handled and there are no panics or memory corruptions. Only MuPDF directly interfaces with the PDF, so I hope that given its age it has patched most vulnerabilities. I have also disabled JS in the MuPDF build and I assume that is where most vulnerabilities would be. If there is something else I should be aware of, let me know.