lordmauve / lordmauve/pgzero

Consider SVG support with resvg_py

Open
#358 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
611
Forks
211
PR merge metrics
No merged PRs in 30d

Description

As described in #341, nanosvg is an unmaintained and incomplete SVG implementation in C that we should probably not use.

resvg provides a complete SVG implementation in pure Rust.

Python bindings are available in resvg_py, but that project only contains unstable ABI wheels. It would be more convincing with ABI3 wheels, better documentation and more API features.

If this library matures it would be a good addition to load sprites from SVG files.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no repository files or tests. Start by reading #341 and the resvg_py documentation, then assess its ABI3 wheels, API coverage, and maturity. Done means there is a clear, supportable path for loading SVG sprites in pgzero.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, rust
Domain
computer-graphics, game-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.