mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
bump crengine: round FT metrics, split text drawing by script (#5628)
Includes: - Fonts: round FT metrics instead of floor'ing them - Fonts: switch to no hinting when native hinting fails - Fonts: fix issue with Harfbuzz fallback font drawing - Text: split measuring and word drawing by unicode script - Page splitting: fix small memory leak - Fix "background-color: black" ignored on inline elements - Fix decoding of recent MOBI files - Hardcoded elements list: add <font> base/xtext.cpp: small cleanup, no logic change
This commit is contained in:
@@ -317,8 +317,8 @@ describe("Readerfooter module", function()
|
||||
assert.are.same(362, footer.text_width)
|
||||
|
||||
footer:onPageUpdate(100)
|
||||
assert.are.same(194, footer.progress_bar.width)
|
||||
assert.are.same(386, footer.text_width)
|
||||
assert.are.same(186, footer.progress_bar.width)
|
||||
assert.are.same(394, footer.text_width)
|
||||
end)
|
||||
|
||||
it("should support chapter markers", function()
|
||||
|
||||
Reference in New Issue
Block a user