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:
poire-z
2019-11-01 23:07:41 +01:00
committed by GitHub
parent 16c021a76a
commit 6baa2af5fb
8 changed files with 17 additions and 17 deletions

View File

@@ -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()