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:
poire-z
2022-09-11 19:53:07 +02:00
parent 087f605fd9
commit 1c44c4c584
3 changed files with 3 additions and 2 deletions

View File

@@ -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)