News for hackers. Stuff that matters.
Re:Simplest C++ Callback, from SumatraPDF by MC995 on Tuesday June 17, 2025 @09:04AM (#44298677)
I use my browser for most PDFs. But for PDFs that have a lot of vector graphics and are over 50-100mb, the browser viewer is very slow to load and render the pages. Even zooming in on a part of a drawing can take 10-15 seconds in the browser which is pretty disruptive.

Sumatra has no issues with 200mb+ PDFs, or ones with complex drawings.

These are all engineering drawings such as mechanical, electrical, and architectural drawings, so mine might not be a use case everyone has.

Re:Simplest C++ Callback, from SumatraPDF by vanderZwan on Tuesday June 17, 2025 @11:28AM (#44300362)
> But for PDFs that have a lot of vector graphics and are over 50-100mb

I also have opened Lenovo Thinkpad manuals, hahaha. For those who haven't, it's quite amazing, really: the SVG images are exports of the full CAD model of the laptop without any culling of elements that aren't visible. And I know this because I used to see each indiduad screw be rendered slowly afer the other whenever pdf.js tried to render one of those bad boys.