bump base & crengine: CSS enhancements and other fixes#14979
Conversation
Includes: - Add support for CSS width: fit-content - fb2def.h: add a few common attributes - lvtext: includes src->t.offset in word->t.start - CSS: support for pseudo element ::first-letter - ::first-letter: fix when single letter text node - ldomXPointer::getRectEx(): return optional context - ldomXRange::getSegmentRects(): fix when BiDi/RTL - testAuthorDotTitleFormat: fix off-by-one error - Epub ncx TOC: don't skip items with invalid href - Avoid some compiler warnings - ldomDocument::createXPointer(pt): better consistency - CSS: add support for "ruby-position: over/under/alternate" - MathML: don't handle anything when no def style set cre.cpp: - add requestRender() - getTextFromPositions(): improvements base: - Fix offs_x/offs_y typo in BB_add_blit_from fast path - lua-Spore: fix matching plain application/json - libpng: update to 1.6.55 - luajit: update to 2.1.1770989063 - ci/circle: bump docker images
We may happen to have an empty selection while panning, no reason to abort the selection yet before release. Also add get_segments=true to remaining calls to getScreenBoxesFromPositions() that we forgot to update to use it.
|
With my changes to text selection, when hold on that blue cross, we would get selected: This causes that ReaderDictionary:onLookupWord() will strip that koreader/frontend/apps/reader/modules/readerdictionary.lua Lines 587 to 606 in 3566d5f and have this return:koreader/frontend/apps/reader/modules/readerdictionary.lua Lines 1170 to 1173 in 3566d5f and we will never unhighlight, and we would be stuck in that state (tap would not change pages) until we start another highlight. I plan to remove this Nothing against that? |


bump base & crengine: CSS enhancements and other fixes
Includes:
fit-contentCloses Some epub files are slow to open #14829 (not certain it does, but it could, so let's close it)
src->t.offsetinword->t.start::first-letterCloses FR: Decorative Initial Letter #6944.
Closes CSS ::first-letter not supported (some drop caps not displaying) #9142.
Closes FR: [Support for ::first-letter and ::first-line] #14391 (even if not yet ::first-line)
::first-letter: fix when single letter text nodeldomXPointer::getRectEx(): return optional contextldomXRange::getSegmentRects(): fix when BiDi/RTLtestAuthorDotTitleFormat: fix off-by-one error for last character in bookTitleCloses [Cover browser] Book covers not generating correctly for text files without newlines #14971.
ldomDocument::createXPointer(pt): better consistencyruby-position: over/under/alternateCloses FR:
ruby-positionsupport #14970.Closes
libkoreader-cresegfaults on MathML during NewsDownloader HTML balancing (getBalancedHTML) #14974.base/cre.cpp koreader/koreader-base#2270
Closes Koreader skips first letter when highlighting #12135.
base:
Closes KOReader KOSync reports "No progress found for this document" on 2025.10-126 #14972.
ReaderHighlight:onHoldPan(): remove abort on empty selection
We may happen to have an empty selection while panning, no reason to abort the selection yet before release. See #13392 (comment).
Also add get_segments=true to remaining calls to getScreenBoxesFromPositions() that we forgot to update to use it. See #12810 (comment)
This change is