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

@@ -99,9 +99,9 @@ describe("Readerhighlight module", function()
end)
it("should response on tap gesture", function()
tap_highlight_text(readerui,
Geom:new{ x = 151, y = 115 },
Geom:new{ x = 300, y = 285 },
Geom:new{ x = 120, y = 240 })
Geom:new{ x = 130, y = 100 },
Geom:new{ x = 350, y = 395 },
Geom:new{ x = 80, y = 265 })
Screen:shot("screenshots/reader_tap_highlight_text_epub.png")
end)
end)