KOReader 2024.04 “Sourdough”
As usual, there have been so many changes that it’s difficult to tell a coherent story about them. One of the more noticeable changes is that the sleep screen menu (formerly known as the screensaver menu) has been reworked (#11549). But there’s also been a lot of work on the backend, updating the build infrastructure and crengine.
This month’s logo was contributed by @Sonnenfee
We’d like to thank all contributors for their efforts. Some highlights since the previous release include:
-
Input: Don’t let wacom pens clobber the slot of the next contact (#11520) @NiLuJe
-
Use Bresenham’s algorithm and anti-aliasing for rounded corners (#11498) @zwim
-
Menu, DictQuickLookup, TextViewer: allow mousewheel scrolling (#11525) @poire-z
-
CoverBrowser: show cached cover of deleted file in history (#11523) @hius07
-
bump crengine: better conformance to the HTML Standard rendering (#11527) @poire-z
Includes:- Hyphenation: update French.pattern koreader/crengine#553
- [CI] Add stylelint to help prevent typos in CSS koreader/crengine#556
- koreader/crengine#555 :
- In-page footnotes: better handle duplicated ids
- lvrend: handle in-page footnotes in table
<caption>
- lvstsheet: fix compiler warnings
- LVString: ignore CJK chars in
lStr_findWordBounds()
Closes #11478. - lvtext:
AddLine()
: handle some CJK + space edge case
See #11478 (comment). - EPUB: look for EPUB3 cover even when EPUB2 cover advertized
See around #11491 (comment).
Hat tip @DanielKauss for discussion. ^_^ - List items: proper per-specs positionning and sizing
Closed koreader/crengine#521. - epub.css: add/use
@media (-cr-max-cre-dom-version: 20180527)
- fb2def.h: add more HTML element and attributes names
- CSS: generic support for handling presentational hints
Closed koreader/crengine#551 - CSS: add support for private
-cr-apply-func
: - ldomDocumentWriterFilter: remove attribute to CSS conversion
- lvrend: more proper rendering of block images
- lvrend: keep margin_left/right updated when “auto”
- CSS: add support for handling HTML’s
align=
attribute - lvrend: fix HR and images positionning when floats involved
- epub.css, html5.css: minor updates for easier stylesheet switch
- epub.css, html5.css: major updates for better conformance
Closes #10770. - fb2.css: fix CI stylelint warnings
-
ReaderTypeset: tweak Style> menu logic and defaults (#11527) @poire-z
-
Style tweaks: add tweak to avoid some presentational hints (#11527) @poire-z
-
util.prettifyCSS(): handle better :is() and similar (#11527) @poire-z
-
Wikipedia: tweak EPUB css to force epub.css look (#11527) @poire-z
-
Wallabag: properly deal with mimetype actually being content-type (#11532) @Frenzie
-
Screensaver: 0% only on first page, 100% only on final page (#11541) @Commodore64user
-
ReaderZooming: make auto-crop default be page content (#11438) @hugleo
-
Book style tweak: add more suggestions in “CSS ≡” (#11533) @poire-z
-
Wikipedia EPUBs: add settings for include/highres images (#11544) @poire-z
-
Dictionary: Fix download message when connection fails (#11548) @jovanbulck
-
appimage: get full path before changing to assets dir (#11552) @pazos
-
Android: Add Linfiny eNote / Avalue ENT-13T1 / QuirkLogic Papyr (#11554) @davide125
-
ReaderView: ensure that the pan zoom direction is not nil (#11557) @hius07
-
ReaderStatus: update status modification time (#11568) @hius07
-
ReaderToc: add option to show chapter lengths (#11546) @poire-z
-
bump crengine: various fixes, improved Russian typography (#11578)
Includes:- koreader/crengine#558 :
- In-page footnotes: avoid with ‘-cr-hint: noteref-ignore’
- In-page footnotes: ensure they don’t cross “flows”
- Tables: fix rendering when negative text-indent
- FB2 cover drawing: ensure _invertImages flag
Closes #11574. - EPUB: fallback to look for a cover in the first fragment
Closes #11571. - TextLang: Russian: add typography rules koreader/crengine#557
-
ReaderTypography: update menu features symbols for Russian (#11570) @dmalinovsky
-
[i18n] Add en-GB and Romanian translation to UI (#11577) @Frenzie
-
PocketBook: remove unused
color_saturation
parameter (#11597) @dmalinovsky -
ReaderView: increase underline thickness (#11586) @Commodore64user
-
FileChooser collates: use “item.sort_percent” for sorting + extra
on-hold
handling (#11592) @hasezoey -
bump base: fix sdcv binaries on non-Android/macOS platforms (#11609) @benoit-pierre
-
[i18n] Font UI fallbacks: insert replacement characters with template for Weblate compatibility (#11614) @Frenzie
-
ReaderHighlight:
strikeout→ Strikethrough (#11619) @Commodore64user -
File manager: fix classic mode item font size (#11626) @hius07
-
Do
flashui
refresh for first display of History page (#11603) @dmalinovsky -
NetworkMgr: Fix PocketBook losing net access (#11601) @liskin
-
NetworkMgr: Use cheaper/simpler hasDefaultRoute in isOnline (#11601) @liskin
-
NetworkMgr: Limit the hasDefaultRoute check in isOnline to PocketBooks (#11601) @liskin
-
bump crengine: various fixes, updated russian hyphenation (#11637) @poire-z
Includes:- koreader/crengine#561 :
- Russian hyphenation: allow hyphens after Russian “не” prefix
- koreader/crengine#560 :
- EPUB: add “identifiers” to doc props
- koreader/crengine#563 :
- EPUB: avoid crash when ‘@font-face‘ in <style>
- FB2: fix block images sizing and centering
Closes #11623. - lvrend: fix positioning of bottom border on empty block elements
Closes #11594.
Also includes:
- cre: add ‘identifiers’ to doc props koreader/koreader-base#1758
- build and ci: various tweaks:
koreader/koreader-base#1759 @benoit-pierre
koreader/koreader-base#1762 @benoit-pierre
koreader/koreader-base#1763 @benoit-pierre
koreader/koreader-base#1764 @benoit-pierre
-
CreDocument: support added ‘identifier’ metadata (#11628) @baswag
-
Sleep screen menu reworked (#11549, #11647) @Commodore64user
-
GetText: fix crash if a value is used as unique value and as singular/plural (#11643) @Frenzie
-
[i18n] GetText: fix fuzzy detection for certain strings (#11648) @Frenzie
-
bump base, luajit-launcher, avoid assert failure in sub-processes (#11658) @poire-z
-
make: fix test rule (#11659) @benoit-pierre
-
Various AppImage fixes and improvements (#11662, #11669, #11665, #11671) @benoit-pierre @Frenzie
-
ci: bump CircleCI docker images, other CI improvements (#11677) @benoit-pierre
-
Stop touching night mode when control_nightmode == false (#11685) @imax9000
-
Kindle Scribe: find accelerometer based on hardware (#11642, #11696) @mergen3107
-
Hide hidden flows and custom toc from non-touch devices (#11690) @Commodore64user
-
NewsDownloader: use content:encoded from RSS item, if available (#11694) @imax9000
-
Add PocketBook Era Color (PB700K3) (#11695) @ElimGarak1
-
Keyboard: detect tap if swipes are disabled (#11699) @hius07
-
Add relevant nil guards to prevent reflow crashes (#11715) @Galunid
-
pocketbook: simplify device model detection (#11721) @benoit-pierre
Full changelog — closed milestone issues
Installation instructions: Android • Cervantes • ChromeOS • Kindle • Kobo • PocketBook • ReMarkable • Desktop Linux • MacOS