mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
bump crengine: better SVG support with extended LunaSVG
Build crengine against LunaSVG instead of NanoSVG. Includes: - SerialBuf: allow serializing longer strings - Support '<img src="data:image/svg+xml,<svg...', remove ;-cr-plain, - CSS: attribute selectors: accept ' or " as the quote char - Embedded fonts: fix ignored name when sharing same url - LVImg: fix possible crash on GIF images - Fonts: DrawTextString(): allow collecting glyphs as SVG paths - Images parsing: cache native sizes - SVG: enhanced SVG support with LunaSVG extended - Add ldomNode::isImage(), handle <object> and <embed> as images - Handle the <svg> element as an SVG image - Support SVG images as first class documents Make credocument the preferred engine for .svg files.
This commit is contained in:
@@ -1402,6 +1402,7 @@ function CreDocument:register(registry)
|
||||
registry:addProvider("prc", "application/vnd.palm", self)
|
||||
registry:addProvider("rtf", "application/rtf", self, 90)
|
||||
registry:addProvider("rtf.zip", "application/rtf+zip", self, 90) -- Alternative mimetype for OPDS.
|
||||
registry:addProvider("svg", "image/svg+xml", self, 90)
|
||||
registry:addProvider("tcr", "application/tcr", self)
|
||||
registry:addProvider("txt", "text/plain", self, 90)
|
||||
registry:addProvider("txt.zip", "application/zip", self, 90)
|
||||
|
||||
Reference in New Issue
Block a user