Repository navigation
v0.4.0
·
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
ofrsvg-convertthat 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. Onlydata:URLs are
fetched. The PNG needs theconvertextra (PDFium), the flat SVG needspdftocairoof 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 ofweasysvg-convertkeeps them vector, and Word draws them.
Full changelog: v0.3.1...v0.4.0