• We collect Confluence feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      NOTE: This suggestion is for Confluence Server. Using Confluence Cloud? See the corresponding suggestion.

      When generating PDFs it would be nice if there was some way to include vector graphics in the generated PDF. I've looked in to seeing if Flying Saucer (xhtmlrenderer) supports this and as it turns out they have an example of how this can be accomplished by use of <object>.

      In flying saucer this would be accomplished by implementing a ReplacedElementFactory which captures objects of the type "image/svg+xml". The svg could be rendered to a context by an svg library like svgsalamander. The context would then be passed to itext which would render it to pdf.

      There is a ReplacedElementFactory demo which uses svgsalamander to render onto a jpane in the xhtmlrenderer source repository.

              Unassigned Unassigned
              336c0b68fb84 Mikko Virkkilä
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: