Replies: 2 comments 2 replies
-
Majority of the size are fonts. Without fonts, many documents won't render correctly. The size is what it is. There is no easy fix and splitting into dlls is just fake accounting. |
Beta Was this translation helpful? Give feedback.
0 replies
-
The size of the portable release is 33% smaller. It looks like all the libraries are static linked and packed (with mpress or something). |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I read the blog post Lessons learned from 15 years of SumatraPDF, an open source Windows app and appreciate the effort to make it the most lightweight PDF reader today.
But then I recall that it was much more smaller when it was announced. I found some old 32-bit versions in FileHorse:
The size of the installer increased from 1MB to 4MB to 6MB. The installed size would be around 2.2 or 2.5 times bigger.
I understand that SumatraPDF depends from libmupdf (which is 11MB in my 64-bit version) and libmupdf support many more file formats than Poppler. On top of that, SumatraPDF added support for many compressed archive formats and modern image formats.
I wonder if we can make it more lightweight like its previous versions by splitting some supports into DLL files that would be loaded dynamically. Would it be smaller if we use Poppler instead?
It's interesting to read the SumatraPDF version history, in version 0.9 : "removed poppler rendering engine resulting in smaller program and updated to latest mupdf sources". At that time, the installer was only 1 MB.
The growth of mupdf contributes a lot to the size of SumatraPDF. Mupdf even added support for MOBI recently.
This is not a complain about SumatraPDF. I still love it and understand that today it comes with lots of functions and it's still smaller than other PDF readers (The little Foxit Reader is already bloated over 150 MB).
This is just a what-if kind of thought experiment I have when I look at the smallest PDF freemium editor : PicoPDF
Beta Was this translation helpful? Give feedback.
All reactions