Skip to content

bump base & crengine: fix buildSyntheticPageMap()#14476

Merged
poire-z merged 2 commits into
koreader:masterfrom
poire-z:bump_crengine
Oct 17, 2025
Merged

bump base & crengine: fix buildSyntheticPageMap()#14476
poire-z merged 2 commits into
koreader:masterfrom
poire-z:bump_crengine

Conversation

@poire-z

@poire-z poire-z commented Oct 17, 2025

Copy link
Copy Markdown
Contributor

bump base & crengine: fix buildSyntheticPageMap()

Includes:

Fontlist: really ignore invalid fonts

collectFaceInfo() can return an empty table {}, which could cause readerfont.lua's onSetFont() to crash.
Closes #14462.
This just avoids the crash, the problematic font may appear with a blank name in ReaderFont menu list (because crengine gathers fonts on its own with some different logic) and selecting it would just have no effect.


This change is Reviewable

Includes:
- ci/circle: speed up lint phase
- tests: fix test runner handling of `--wrapper` option
- ci/macos: update jobs
- bump crengine: fix buildSyntheticPageMap()
collectFaceInfo() can return an empty table {},
which could cause readerfont.lua's onSetFont()
to crash.
@poire-z poire-z added this to the 2025.10 milestone Oct 17, 2025
@poire-z poire-z changed the title Bump crengine bump base & crengine: fix buildSyntheticPageMap() Oct 17, 2025
@poire-z poire-z merged commit 5c20f84 into koreader:master Oct 17, 2025
4 checks passed
@poire-z poire-z deleted the bump_crengine branch October 17, 2025 23:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Font selection sometimes crashes koreader

1 participant