mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
cre: use 'best' (Harfbuzz) as the default kerning method (#5553)
It might be slower, but is needed to properly display books in arabic, indic... Also bump crengine: use FreeType "light" hinting algorithm, which hints on the y-axis only (and so avoid messing with advances and kerning on the x-axis).
This commit is contained in:
@@ -317,8 +317,8 @@ describe("Readerfooter module", function()
|
||||
assert.are.same(359, footer.text_width)
|
||||
|
||||
footer:onPageUpdate(100)
|
||||
assert.are.same(189, footer.progress_bar.width)
|
||||
assert.are.same(391, footer.text_width)
|
||||
assert.are.same(197, footer.progress_bar.width)
|
||||
assert.are.same(383, footer.text_width)
|
||||
end)
|
||||
|
||||
it("should support chapter markers", function()
|
||||
|
||||
Reference in New Issue
Block a user