bump crengine: line-height: reworked implemenation (#4835)

Includes:
- Revert "line-height: fix handling and inheritance"
- Revert "line-height: switch base from 16 to 256 for more granularity"
- CSS: parse "normal" keyword length
- line-height: reworked implemenation for better conformance
- 2-pages mode: fix middle margin sizing
pull/4837/head
poire-z 5 years ago committed by GitHub
parent cfd562697f
commit 5f13e68966
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1 +1 @@
Subproject commit a0088f5803fd05851704c792b3add0893b47b945
Subproject commit 8e1f86890acc1931564ed3382938f9612c6218ee

@ -86,7 +86,7 @@ describe("Readerhighlight module", function()
readerui.highlight:clear()
end)
it("should highlight single word", function()
highlight_single_word(readerui, Geom:new{ x = 400, y = 110 })
highlight_single_word(readerui, Geom:new{ x = 400, y = 70 })
Screen:shot("screenshots/reader_highlight_single_word_epub.png")
assert.truthy(readerui.view.highlight.saved[page])
end)

@ -19,7 +19,7 @@ describe("ReaderLink module", function()
}
readerui.rolling:onGotoPage(5)
readerui.link:onTap(nil, {pos = {x = 340, y = 70}})
assert.is.same(39, readerui.rolling.current_page)
assert.is.same(38, readerui.rolling.current_page)
end)
it("should jump to links in pdf page mode", function()
@ -56,7 +56,7 @@ describe("ReaderLink module", function()
}
readerui.rolling:onGotoPage(5)
readerui.link:onTap(nil, {pos = {x = 340, y = 70}})
assert.is.same(39, readerui.rolling.current_page)
assert.is.same(38, readerui.rolling.current_page)
readerui.link:onGoBackLink()
assert.is.same(5, readerui.rolling.current_page)
end)

Loading…
Cancel
Save