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
2022-06-11 11:08:42 +02:00
parent b9724f1e93
commit cc185bae4e
3 changed files with 23 additions and 3 deletions

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