cre: add Word Gap setting to bottom config panel (#4026)

Maps to crengine's Space Condensing feature (named Word Gap
as a similar feature is named for PDF)
This commit is contained in:
Robert
2018-06-30 16:55:43 +02:00
committed by poire-z
parent 27dfa30181
commit d29a65b96e
7 changed files with 45 additions and 19 deletions

View File

@@ -68,7 +68,7 @@ describe("Readertoc module", function()
end)
it("should get page left of chapter", function()
assert.truthy(toc:getChapterPagesLeft(10, 0) > 10)
assert.truthy(toc:getChapterPagesLeft(100, 0) > 10)
assert.truthy(toc:getChapterPagesLeft(101, 0) > 10)
assert.are.same(nil, toc:getChapterPagesLeft(200, 0))
end)
it("should get page done of chapter", function()