Bug#1099423: RFP: plutosvg -- Tiny SVG rendering library in C

Simon McVittie <[email protected]> Mon, 3 Mar 2025 13:01:11 +0000
Newsgroups gmane.linux.debian.devel.games
Message-ID <Z8WoF1yYo-8kcN2o__12408.830032085$1741007036$gmane$org@remnant.pseudorandom.co.uk>
Package: wnpp
Severity: wishlist
X-Debbugs-Cc: [email protected], [email protected], [email protected]
Control: affects -1 + src:libsdl3-ttf

* Package name    : plutosvg
  Version         : 0.0.6 (as of 2025-03-03)
  Upstream Contact: Samuel Ugochukwu
* URL             : https://github.com/sammycage/plutosvg
* License         : MIT
  Programming Lang: C
  Description     : Tiny SVG rendering library in C

plutosvg is a small SVG implementation, and appears to be a smaller,
less featureful alternative to larger libraries like librsvg.
libsdl3-ttf can optionally use it to draw emoji in SVG format embedded
in OpenType fonts.

libsdl3-image or even libsdl2-image might also switch to plutosvg
in future: at the moment they use a bundled copy of nanosvg, a
single-header-file SVG implementation which is designed to be bundled
rather than being packaged separately.

I don't know whether plutosvg has a stable API or ABI at this stage
(any prospective maintainer should talk to upstream about whether it
does before building it as a shared library). If not, it might need to
go to experimental until it has stabilized.

If plutosvg isn't packaged separately or isn't yet suitable to be packaged
separately, libsdl3-ttf can potentially use its vendored copy, if we stop
deleting the vendored copy (but that will require a copyright/licensing
check that I have not yet had time to do).