Summary: | mupdf 1.21.0 SVG conversion issue: "Unescaped '<' not allowed in attributes values" | ||
---|---|---|---|
Product: | MuPDF | Reporter: | Nate Drake <ndrake> |
Component: | mupdf | Assignee: | MuPDF bugs <mupdf-bugs> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | sebastian.rasmussen |
Priority: | P4 | ||
Version: | unspecified | ||
Hardware: | PC | ||
OS: | All | ||
Customer: | Word Size: | --- | |
Attachments: | PDF test file |
*** This bug has been marked as a duplicate of bug 706320 *** |
Created attachment 23856 [details] PDF test file Hi, There seems to be an issue with SVG files created from PDFs using mupdf 1.21.0. The resulting SVG files will fail to render in browsers with errors like: "Unescaped '<' not allowed in attributes values" To reproduce, use mutool to convert the attached PDF file into an SVG with this command line: mutool convert -o p.svg -F svg -O text=path PDF_TEST.pdf Then attempt to open the SVG file in a web browser. With 1.21.0 you'll get the "Unescaped '<' not allowed in attributes values" error and with 1.20.0 the SVG will render fine in the browser. Side note: using the 'text=text' option with version 1.21.0 will generate an SVG that renders ok, but the fonts look bad (as expected)