Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 3.5
-
Fix Version/s: 4.0-milestone-2
-
Component/s: PDF export
-
Labels:None
-
Difficulty:Easy
-
Similar issues:
XWIKI-7490 Image size do not display correctly in the PDF export XWIKI-2445Exporting to PDF an External Image XWIKI-6281 Profile image exported to PDF in its original size XWIKI-9142Export fails when using SVG version 1.1 with unknown and not namespaced XML elements XWIKI-6530Scaled images are not exported to PDF XWIKI-5726image does not appear in pdf export XWIKI-2593Export as PDF not working due to cache problems XWIKI-148Viewing Embedded Charts XWIKI-2556Scaled images in exported PDF and RTF have wrong dimensions XWIKI-6583Images are not embedded when exporting a wiki page to an office format
Description
HTML5 allows to simply mix HTML and SVG elements in a document, making it easier to include vector graphics in a page. Although XWiki doesn't have yet a dedicated macro which would allow to include some SVG content in a wiki document, it is possible to do so by abusing the html macro. The problem is that when trying to export the document as PDF, only the textual content of the SVG is displayed as inline text. There's a very simple fix for this, since FOP already supports rendering SVG images.
Done in 8e300a7