RESOLVED INVALID 50900
[Qt] problems of QtWebKit to handle SVG files with embedded fonts when loaded as image from disk
https://bugs.webkit.org/show_bug.cgi?id=50900
Summary [Qt] problems of QtWebKit to handle SVG files with embedded fonts when loaded...
web.mb
Reported 2010-12-12 20:37:03 PST
Created attachment 76348 [details] zip container with Title.xhtml file and Impressum.svg file of an epup file An error occured when I open a epub file with Calibre Ebook Reader. I made a bug report to Calibre. Calibre answered: "This is caused by a bug in QtWebKit, the HTML rendering library used by calibre. You should open a bug report for them. Apparently QtWebKit cannot handle SVG files with embedded fonts. In your bug report attach the Title.xhtml and Impressum.svg files."
Attachments
zip container with Title.xhtml file and Impressum.svg file of an epup file (674.93 KB, application/zip)
2010-12-12 20:37 PST, web.mb
no flags
File showing the problem (69.33 KB, image/svg+xml)
2011-01-14 10:44 PST, Benjamin Poulain
no flags
Benjamin Poulain
Comment 1 2011-01-14 10:44:40 PST
Created attachment 78959 [details] File showing the problem
Benjamin Poulain
Comment 2 2011-01-14 10:55:26 PST
Please follow this to report bugs on QtWebKit: http://trac.webkit.org/wiki/QtWebKitBugs If I understand the bug correctly, when I open Title.xhtml, the second image does not have the text shown? It looks for me like the svg image handler is rendering the svg instead of WebKit. This is because the svg is inserted as <img> tag (non standard by the way :)). I think that could work if they did not ship the SVG image reader plugin with their application. You can tell them to test that. You should be able to work around the issue in your document by using <embed> instead of <img> to integrate SVG. I do not know if epub support <embed>? This bug is valid, but there is probably not much we can do about it. Since it is loaded from disk, and with the image tag, WebKit does not know about the mimetype and it make sense to pass that to the image reader.
Jocelyn Turcotte
Comment 3 2014-02-03 03:13:39 PST
=== Bulk closing of Qt bugs === If you believe that this bug report is still relevant for a non-Qt port of webkit.org, please re-open it and remove [Qt] from the summary. If you believe that this is still an important QtWebKit bug, please fill a new report at https://bugreports.qt-project.org and add a link to this issue. See http://qt-project.org/wiki/ReportingBugsInQt for additional guidelines.
Note You need to log in before you can comment on or make changes to this bug.