add floating punctuation option for crereader
Luckily after disabling floating punctuation left/right margin are able to be same now (with large enough margins, should be more than 1em). So I also changed the default page margins for crereader and removed the dirty hack.
This commit is contained in:
1 parent
f1b5c439dd
commit
210293b561
3 files changed
+25
-3
No files matched your search
@@ -273,6 +273,10 @@ function CreDocument:setPageMargins(left, top, right, bottom)
|
||||
self._document:setIntProperty("crengine.page.margin.bottom", bottom)
|
||||
end
|
||||
|
||||
function CreDocument:setFloatingPunctuation(enabled)
|
||||
self._document:setIntProperty("crengine.style.floating.punctuation.enabled", enabled)
|
||||
end
|
||||
|
||||
function CreDocument:setVisiblePageCount(new_count)
|
||||
self._document:setVisiblePageCount(new_count)
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user