Sumatra PDF

SumatraPDF是针对Windows的多格式(PDF,EPUB,MOBI,FB2,CHM,XPS,DjVu)阅读器。(SumatraPDF is a multi-format (PDF, EPUB, MOBI, FB2, CHM, XPS, DjVu) reader for Windows.)

Github星跟蹤圖

SumatraPDF是针对Windows的多格式(PDF,EPUB,MOBI,FB2,CHM,XPS,DjVu)阅读器,符合(A)GPLv3许可,其中一些代码符合BSD许可(参见AUTHORS)。

更多信息:

要编译,您需要Visual Studio 2017.免费社区版可以使用。 我倾向于更新到最新版本的Visual Studio。 最近,C++迅速发展,Visual Studio不断添加最新功能。 如果无法编译,首先要确保您使用的是Visual Studio的最新更新。

要获取代码:

git clone git@github.com:sumamatdfreader/sumatrapdf.git

使用Visual Studio 2017时打开 vs2017/SumatraPDF.sln

主要指標

概覽
名稱與所有者sumatrapdfreader/sumatrapdf
主編程語言C
編程語言Perl (語言數: 32)
平台Windows
許可證GNU General Public License v3.0
所有者活动
創建於2012-10-02 06:59:55
推送於2025-05-21 12:15:34
最后一次提交2025-05-21 14:15:32
發布數29
最新版本名稱3.5.2rel (發布於 )
第一版名稱1.4split (發布於 2014-12-03 08:29:25)
用户参与
星數14.8k
關注者數316
派生數1.8k
提交數15.9k
已啟用問題?
問題數3546
打開的問題數661
拉請求數152
打開的拉請求數13
關閉的拉請求數73
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?

SumatraPDF Reader

SumatraPDF is a multi-format (PDF, EPUB, MOBI, FB2, CHM, XPS, DjVu) reader
for Windows under (A)GPLv3 license, with some code under BSD license (see
AUTHORS).

More information:

To compile you need Visual Studio 2019. Free Community edition works.

I tend to update to the latest release of Visual Studio. Lately C++ evolves quickly
and Visual Studio constantly adds latest capabilities. If things don't compile,
first make sure you're using the latest version of Visual Studio.

Open vs2019/SumatraPDF.sln when using Visual Studio 2019

You need at least version 16.4 of Visual Studio 2019.

Notes on targets:

Asan notes

Flags: https://github.com/google/sanitizers/wiki/SanitizerCommonFlags
Can be set with env variable:

  • ASAN_OPTIONS=allocator_may_return_null=1:verbosity=1:check_malloc_usable_size=false:suppressions="C:\Users\kjk\src\sumatrapdf\asan.supp"

In Visual Studio, this is in Debugging, Environment section.

Supressing issues: https://clang.llvm.org/docs/AddressSanitizer.html#issue-suppression
Note: I couldn't get supressing to work.