Embedded fonts toggle: disabled if no embedded font

Have the enabled/disabled state of the toggle show the
presence or not of embedded fonts in the current book.
Also show the names of the embedded fonts in the
help_text InfoMessage.
This commit is contained in:
poire-z committed 2022-06-11 20:58:52 +02:00
1 parent b9724f1e93
commit cc185bae4e
3 files changed
+23 -3

No files matched your search

+4
View File
@@ -797,6 +797,10 @@ function CreDocument:getFontFace()
return self._document:getFontFace()
end
function CreDocument:getEmbeddedFontList()
return self._document:getEmbeddedFontList()
end
function CreDocument:getCurrentPos()
return self._document:getCurrentPos()
end