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)

169 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 (11)

  1. Is PDF performance a problem?
    Replies (3)
    1. Normally, no. But in the CAD world it is a huge problem. You can try opening the stress test PDF I linked in the text body (https://pryzmera.com/stress_test.pdf), it is a decent representation of the problem architects and related field deal with.
      Replies (2)
      1. >> Normally, no. But in the CAD world it is a huge problem.

        Perhaps then you should market it as "Fast PDF for people who love CAD" or something. Then you might catch the attention of the people for whom this solves a problem

        Aiming generally at everyone, certainly I'm like "meh, PDF seems fast enough".

        Replies (1)
        1. Thanks for the input. While it is mostly a problem in the CAD fields, I don't wanna limit it just to CAD, I think it has a few other applications (like searching long text documents or viewing large images), and for me it also just feels really good to use, so I don't wanna push away other people who might find value in it.
          Replies (1)
          1. >> I don't wanna push away other people who might find value in it

            If you market to everyone, you market to no one.

            Perhaps discuss the marketing and target market and segmentation of this product with your local LLM.

            You have described to me a pain point for the construction and design industry that presumably has at least some money to spend on better tools.

      2. GIS is another field with lots of complex slow-rendering PDF files. I would recommend trying some USGS topo maps for your stress testing.

        Sample Link (West Mt. Rainier 7.5min): https://prd-tnm.s3.amazonaws.com/StagedProducts/Maps/USTopo/...

        Source: https://apps.nationalmap.gov/downloader/

        Replies (1)
        1. Thank you for the additional test case!

          This PDF is mainly composed of a large image (around 1GB uncompressed, very close to my stress test) and relatively few vector paths, Pryzmera renders it at about 300FPS on my machine.

    2. Acrobat is a laggy mess, at least on Mac. Like sub 10-fps often times
      Replies (1)
      1. Windows too gor what it's worth. 9800X3D and a 5090 and Acrobat is a slideshow even on very badic PDFs. SumatraPDF flies on the same files.
    3. It is a huge problem for some people. Consider building construction, where all trades collaborate on producing a detailed model in e.g. Revit. The design coordination model will have thousands of small 3D models - every lighting and plumbing fixture, all the HVAC and electrical, often every piece of furniture.

      To produce the architectural plans, illustrations are made by taking section cuts, each of which effectively duplicates and flattens all the 3D model geometry into PDF linework. This is a hideously inefficient process that usually does not simplify the model geometry.

      For a commercial building these drawing sets stretch into the hundreds, sometimes thousands of pages long. If your job is to study and review a 382 page PDF, and each page takes 5 to 20 seconds to render, it could take over two hours just to say you've seen it.

      To the author: please keep up this righteous fight. The final boss will be Bluebeam.

      Replies (1)
      1. This is very encouraging! Thank you!