linebender / linebender/resvg

symbol rendered at wrong position

Open
#883 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
4.1k
Forks
348
Avg merge
1d 14h
Merged PRs (30d)
3

Description

the following example is rendered different in chrome/firefox and resvg

`

`

Browser:
![Image](https://github.com/user-attachments/assets/538523a0-c0ea-4bdd-9410-c0ef4bb1b7aa)

resvg:

![Image](https://github.com/user-attachments/assets/cd235756-d6b1-48c2-a1f3-9211ddf43f15)

Maybe resvg does not use the x- and y.Attributes of the symbol ?

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

Start by rendering the supplied SVG example with resvg and comparing its symbol placement with a browser. Trace the handling of the and elements, especially their x and y attributes, and consider the issue complete when resvg matches the browser output without regressing related rendering behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
computer-graphics
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.