use setStringProperty method to set font face

This should fix #569.
pull/577/head
chrox 10 years ago
parent 8f982faa7b
commit 6bf1a9d033

@ -272,7 +272,7 @@ end
function CreDocument:setFontFace(new_font_face)
if new_font_face then
DEBUG("CreDocument: set font face", new_font_face)
self._document:setFontFace(new_font_face)
self._document:setStringProperty("font.face.default", new_font_face)
end
end

Loading…
Cancel
Save