XWiki Platform
  1. XWiki Platform
  2. XWIKI-7665

Display embedded SVG images in the PDF export

    Details

    • Difficulty:
      Easy
    • 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-10259Code displayed in the PDF export after installing the "PDF Template Customization" Extension
      XWIKI-2445Exporting to PDF an External Image
      XWIKI-6281Profile 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-148Viewing Embedded Charts
      XWIKI-2593Export as PDF not working due to cache problems

      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.

        Issue Links

          Activity

          Hide
          Sergiu Dumitriu added a comment -

          Done in 8e300a7

          Show
          Sergiu Dumitriu added a comment - Done in 8e300a7

            People

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

              Dates

              • Created:
                Updated:
                Resolved: