add floating punctuation toggler for EPUBs

This commit is contained in:
chrox
2014-07-22 21:54:05 +08:00
parent beaf768250
commit a7fb8811f3
3 changed files with 21 additions and 1 deletions

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