55f3575a10
A few fixes and enhancement related to bold text: - When using bold=true with a regular font, use its bold variant if one exists (can be prevented by manually adding a setting: "use_bold_font_for_bold" = false). - When using a bold font without bold=true, promote bold to true, so fallback fonts are drawn bold too. - Whether using a bold font, or using bold=true, ensure fallback fonts are drawn bold, with their available bold variant if one exists, or with synthetized bold. - When using a bold variant of a fallback font, keep using the regular variant as another fallback (as bold fonts may contain less glyphs than their regular counterpart). - Allow providing bold=Font.FORCE_SYNTHETIZED_BOLD to get synth bold even when a bold font exists (might be interesting to get text in bold the same width as the same text non-bold). - Use the font realname in the key when caching glyphs, instead of our aliases (cfont, infont...) to avoid duplication and wasting memory. |
4 years ago | |
---|---|---|
.ci | 5 years ago | |
.circleci | 5 years ago | |
.github | 5 years ago | |
base@10cfb8379d | 4 years ago | |
doc | 5 years ago | |
frontend | 4 years ago | |
l10n@c848073a4c | 5 years ago | |
platform | 4 years ago | |
plugins | 4 years ago | |
resources | 5 years ago | |
spec/unit | 5 years ago | |
test@86eeb0b43d | 8 years ago | |
tools | 5 years ago | |
.busted | 9 years ago | |
.codecov.yml | 5 years ago | |
.editorconfig | 8 years ago | |
.gitignore | 5 years ago | |
.gitmodules | 5 years ago | |
.luacheckrc | 5 years ago | |
.luacov | 7 years ago | |
.travis.yml | 7 years ago | |
COPYING | 10 years ago | |
Makefile | 4 years ago | |
README.md | 5 years ago | |
datastorage.lua | 5 years ago | |
defaults.lua | 5 years ago | |
kodev | 5 years ago | |
reader.lua | 4 years ago | |
setupkoenv.lua | 5 years ago |
README.md
KOReader is a document viewer primarily aimed at e-ink readers.
Download • Wiki • Developer docs
Main features
-
portable: runs on embedded devices (Cervantes, Kindle, Kobo, PocketBook), Android and Linux computers. Developers can run a KOReader emulator in Linux and MacOS.
-
multi-format documents: supports fixed page formats (PDF, DjVu, CBT, CBZ) and reflowable e-book formats (EPUB, FB2, Mobi, DOC, CHM, TXT). Scanned PDF/DjVu documents can also be reflowed with the built-in K2pdfopt library.
-
full-featured reading: multi-lingual user interface with a highly customizable reader view and many typesetting options. You can set arbitrary page margins, override line spacing and choose external fonts and styles. It has multi-lingual hyphenation dictionaries bundled into the application.
-
integrated with calibre (search metadata, receive ebooks wirelessly, browse library via OPDS), Evernote (export hightlights), Wallabag, Wikipedia, Google Translate and other content providers.
-
optimized for e-ink devices: custom UI without animation, with paginated menus, adjustable text contrast, and easy zoom to fit content or page in paged media.
-
extensible: via plugins
-
and much more: look up words with StarDict dictionaries / Wikipedia, add your own online OPDS catalogs and RSS feeds, share ebooks with other KOReader devices wirelessly, online over-the-air software updates, an FTP client, an SSH server, …
Please check the wiki to discover more features and to help us document them.
Screenshots
Installation
Please follow the model specific steps for your device:
Android • Cervantes • Kindle • Kobo • Linux • Pocketbook
Development
Setting a build environment • Collaborating with Git • Building targets • Porting • Developer docs
Support
KOReader is developed and supported by volunteers all around the world. There are many ways you can help:
- fix bugs and implement new features
- translate the program into your language or improve an existing translation
- document lesser-known features on the wiki
- help others with your knowledge on the forum
At this moment we don't support any form of monetary donation, but you can create a bounty for the specific bug or feature request you want and motivate others to do the work.
Also if you have and old Pocketbook device you don't want, we might find it useful to tinker a bit with that platform. Please contact us through the forum or GitHub.