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 stars Tracking Chart

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

Main metrics

Overview
Name With Ownersumatrapdfreader/sumatrapdf
Primary LanguageC
Program languagePerl (Language Count: 32)
PlatformWindows
License:GNU General Public License v3.0
所有者活动
Created At2012-10-02 06:59:55
Pushed At2024-10-09 16:09:00
Last Commit At2024-10-09 18:08:55
Release Count29
Last Release Name3.5.2rel (Posted on )
First Release Name1.4split (Posted on 2014-12-03 08:29:25)
用户参与
Stargazers Count13.6k
Watchers Count316
Fork Count1.7k
Commits Count15.8k
Has Issues Enabled
Issues Count3387
Issue Open Count556
Pull Requests Count152
Pull Requests Open Count1
Pull Requests Close Count69
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private

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.