Skip to content

v0.4.0

Choose a tag to compare

@github-actions github-actions released this 03 Nov 13:00
· 24 commits to main since this release
Immutable release. Only release title and notes can be modified.

Added

  • weasysvg-convert, a command line converter from SVG to PDF, PNG or a flat SVG. It accepts the options
    of rsvg-convert that pandoc passes, so a service can install it under that name: pandoc then draws
    <foreignObject>, filters and masks in a PDF and in the PNG fallback of a DOCX. Only data: URLs are
    fetched. The PNG needs the convert extra (PDFium), the flat SVG needs pdftocairo of Poppler.
  • weasysvg.portable(): inside it, a mask of opaque white areas, then opaque black ones, is a clip path
    instead of a soft mask. cairo turns a soft mask into an image when it writes SVG, and lost the D2 cuts
    under the edge labels. The flat SVG of weasysvg-convert keeps them vector, and Word draws them.

Full changelog: v0.3.1...v0.4.0