XWiki Platform
  1. XWiki Platform
  2. XWIKI-7665

Display embedded SVG images in the PDF export


    • Difficulty:
    • Similar issues:
      XWIKI-7490Image size do not display correctly in the PDF export
      XWIKI-9606Scaled image attachments don't appear in the PDF export
      XWIKI-6281Profile image exported to PDF in its original size
      XWIKI-2445Exporting to PDF an External Image
      XWIKI-10259Code displayed in the PDF export after installing the "PDF Template Customization" Extension
      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-12410PDF Export content is not properly displayed in Firefox 39
      XWIKI-5726image does not appear in pdf export
      XWIKI-148Viewing Embedded Charts


      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.

        Issue Links


          Sergiu Dumitriu added a comment -

          Done in 8e300a7

          Sergiu Dumitriu added a comment - Done in 8e300a7


            • Assignee:
              Sergiu Dumitriu
              Sergiu Dumitriu
            • Votes:
              0 Vote for this issue
              0 Start watching this issue


              • Created: