bump crengine: sync with upstream, new hyphenation languages (#6746)
Includes: - (Upstream) various unimpacting changes to keep in sync - (Upstream) Fix issues with legacy text rendering - (Upstream) FB3/DocX/ODT: get lang and description metadata - (Upstream) remove some global settings, make them per-doc - TextLang, hyphenation: add Armenian, Friulian, Piedmontese, Romansh, Zulu and Brazilian Portuguese. Also make cre the prefered engine for .xhtml (over MuPDF) and for .xml (which might be HTML).
This commit is contained in:
1 parent
8a41ed9166
commit
8b886e5922
4 files changed
+11
-4
No files matched your search
@@ -178,7 +178,7 @@ end
|
||||
|
||||
function CreDocument:requestDomVersion(version)
|
||||
logger.dbg("CreDocument: requesting DOM version:", version)
|
||||
cre.requestDomVersion(version)
|
||||
self._document:setIntProperty("crengine.render.requested_dom_version", version)
|
||||
end
|
||||
|
||||
function CreDocument:getDocumentFormat()
|
||||
@@ -1041,7 +1041,8 @@ function CreDocument:register(registry)
|
||||
registry:addProvider("txt", "text/plain", self, 90)
|
||||
registry:addProvider("txt.zip", "application/zip", self, 90)
|
||||
registry:addProvider("rtf", "application/rtf", self, 90)
|
||||
registry:addProvider("xhtml", "application/xhtml+xml", self, 90)
|
||||
registry:addProvider("xhtml", "application/xhtml+xml", self, 100)
|
||||
registry:addProvider("xml", "application/xml", self, 90)
|
||||
registry:addProvider("zip", "application/zip", self, 10)
|
||||
-- Scripts that we allow running in the FM (c.f., Device:canExecuteScript)
|
||||
registry:addProvider("sh", "application/x-shellscript", self, 90)
|
||||
|
||||
Reference in new issue
Block a user