googlefonts / googlefonts/picosvg

after strokes => filled paths, small curves look incorrect

Open
#154 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
220
Forks
17
PR merge metrics
No merged PRs in 30d

Description

look at the monocle's chain links in the attached GIF: they should be perfectly circular but after picosvg they look wrong

![ezgif com-gif-maker](https://user-images.githubusercontent.com/6939968/100650943-a12bf900-333c-11eb-823f-43445146507b.gif)

I suspect this has to do with the way we convert conic curves to quadratic in skia-pathops (following the stroking operation).

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the monocle chain-link distortion shown in the attached GIF after picosvg processing. Inspect the skia-pathops conic-to-quadratic conversion that follows the stroking operation, and compare the resulting small curves with the expected circular links. Done means the links remain circular after stroke expansion and path conversion.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.