linebender / linebender/resvg

Filter area feMorphology:dilate reduced by 1 pixel left/top.

Open
#663 0 comments 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

Chrome and latest resvg [0.35.0] rendering screenshot. The arrows indicate that radius 1 is not displayed, radius 2 has size 1.
![image](https://github.com/RazrFalcon/resvg/assets/29166758/553adccc-f6c1-4c70-80ad-c0188dde3b36)
Sample SVG
![Dilate](https://github.com/RazrFalcon/resvg/assets/29166758/c739a94a-7517-48f1-9587-b5d24a975e8c)

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 reproducing the supplied SVG with resvg 0.35.0 and comparing its feMorphology:dilate output with Chrome. Trace the filter rendering and geometry handling that determines the left/top extent. Done means radius 1 is visible and radius 2 has the expected size, without the one-pixel reduction.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
computer-graphics
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.