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

Overview

Name With Ownersumatrapdfreader/sumatrapdf
Primary LanguageC
Program languagePerl (Language Count: 33)
PlatformWindows
License:GNU General Public License v3.0
Release Count29
Last Release Name3.5.2rel (Posted on )
First Release Name1.4split (Posted on 2014-12-03 08:29:25)
Created At2012-10-02 06:59:55
Pushed At2024-05-04 23:54:49
Last Commit At2024-05-05 01:54:45
Stargazers Count12.6k
Watchers Count309
Fork Count1.6k
Commits Count15.1k
Has Issues Enabled
Issues Count3153
Issue Open Count542
Pull Requests Count143
Pull Requests Open Count0
Pull Requests Close Count65
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.

To the top