Pryzmera 发布 GPU 加速 PDF 阅读器 渲染提速超千倍

原标题:Show HN: Pryzmera – Fast PDF viewer, over 1200x faster rendering than Acrobat
38AI 研判分

Pryzmera 是一款面向复杂大型文档的 PDF 阅读器,宣称打开速度最高提升 10 倍、页面渲染速度超过同类阅读器 1000 倍,千页文档文本搜索可在 0.03 秒内完成。其核心做法是将页面表示上传至 GPU,单页渲染通常仅需 3-4 次绘制调用,从而在平移、缩放、旋转时保持帧率稳定。产品提供 Windows 版与 30 天免费试用,后续需付费购买授权。

关联知识实体

报道正文

本文目录10 个章节

Pryzmera is an extremely fast PDF viewer, built specifically to handle the most complex and demanding documents with no lag or stutters.

Download for Windows

Includes a free 30-day trial

Buy

Features

Performance

From technical drawings to thousand-page manuals, Pryzmera can open documents up to 10x faster and render pages over 1000x faster compared to other PDF viewers, making panning and zooming frictionless, even in massive PDFs.

Once the document is loaded, Pryzmera can find any text virtually instantly. In a thousand-page PDF, the search typically completes in 0.03 seconds or less.

Image Viewer

In addition to PDFs, Pryzmera also doubles as a fast image viewer, capable of rendering images with billions of pixels without lag.

Rotation

Pryzmera is not limited to 90° rotations, and can rotate documents by any amount.

Dark Mode

Pryzmera can invert the colors of the document, for those who prefer a dark background with light text. Dark mode can be set as the default mode from the settings.

Minimal UI

Pryzmera maximizes the space available for the document by only showing a small toolbar at the top. The toolbar can be hidden with a keybinding, allocating the entire window to the document.

Screenshots

Pryzmera can take screenshots of the entire page or the visible area with virtually any resolution.

Keyboard Navigation

Almost every action has a customizable keybinding, enabling efficient navigation while using only the keyboard.

Customization

Many aspects of Pryzmera can be customized, including keybindings, navigation speed, graphics quality, and more.


作者发帖说明(HN):

In September of 2021, my father told me he was struggling to open PDFs. As part of his job, he had to view many PDFs with millions of vector paths that were generated by CAD software, and we could not find any PDF viewer that would render them at more than a few frames per second.

I thought that if we simply converted those paths into triangles the GPU could just blast through them. Today, after more than 5 years and 3 iterations in 3 different languages, I would like to share with you the 3rd iteration of my PDF viewer: Named "Pryzmera", I wrote it by hand with the goal to render those CAD PDFs at interactive frame rates, and with the intention to make every feature as fast as I could possibly imagine it to be.

When Pryzmera opens a document, it first starts by interpreting each page. As a page is interpreted, it generates small clipping & tessellation jobs that run in parallel. Clipping & tessellation is performed by Pryzmera's own tessellator and produces the initial geometry for the page. This geometry is then collected and jointly optimized to produce a final GPU representation that mostly consists of colored/textured triangles. The representation is completely static, which in turn makes rendering performance (FPS) almost static, even when the view changes (e.g. panning/zooming/rotating). Once the representation is uploaded to the GPU, rendering a page typically requires only 3-4 draw calls.

On my machine (GTX1080/i7-5820k), Pryzmera can render my father's CAD PDFs a...