bump LunaSVG, crengine: add support for .docm (#10702)

Includes:
- bump LunaSVG: intermediate upstream bump, cleanup
- bump LunaSVG: minor upstream tweaks
crengine:
- DocX: add support for similar DocM format
- LVStyleSheet: fix LVCssDeclaration::getHash()
- CSS parsing: accept Unicode values for ID and classnames
- update for Harfbuzz 8, fix some compiler warning
Also fix input not restored when loading failed,
and KOReader not able to exit.
reviewable/pr10705/r3
poire-z 10 months ago committed by GitHub
parent dacc3c2f72
commit 8a240dd635
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1 +1 @@
Subproject commit fcf5c578b8fdcf5cac38762a8f8b5cf77ebb79e2
Subproject commit a938d082ba3f39a9d5cc39492637ce8711b9dd3f

@ -823,6 +823,9 @@ function ReaderUI:dealWithLoadDocumentFailure()
coroutine.resume(_coroutine, false)
end,
})
-- Restore input, so can catch the InfoMessage dismiss and exit
Device:setIgnoreInput(false)
Input:inhibitInputUntil(0.2)
coroutine.yield() -- pause till InfoMessage is dismissed
end
-- We have to error and exit the coroutine anyway to avoid any segfault

@ -1509,6 +1509,7 @@ function CreDocument:register(registry)
registry:addProvider("chm", "application/vnd.ms-htmlhelp", self, 90)
registry:addProvider("doc", "application/msword", self, 90)
registry:addProvider("docx", "application/vnd.openxmlformats-officedocument.wordprocessingml.document", self, 90)
registry:addProvider("docm", "application/vnd.ms-word.document.macroEnabled.12", self, 90)
registry:addProvider("epub", "application/epub+zip", self, 100)
registry:addProvider("epub", "application/epub", self, 100) -- Alternative mimetype for OPDS.
registry:addProvider("epub3", "application/epub+zip", self, 100)

Loading…
Cancel
Save