add floating punctuation toggler for EPUBs

This commit is contained in:
chrox committed 2014-07-22 21:55:31 +08:00
1 parent beaf768250
commit a7fb8811f3
3 files changed
+21 -1

No files matched your search

+1
View File
@@ -357,6 +357,7 @@ function CreDocument:setPageMargins(left, top, right, bottom)
end
function CreDocument:setFloatingPunctuation(enabled)
-- FIXME: occasional segmentation fault when toggling floating punctuation
DEBUG("CreDocument: set floating punctuation", enabled)
self._document:setIntProperty("crengine.style.floating.punctuation.enabled", enabled)
end