Automattic / Automattic/node-canvas
Remove glyphDrawingMode
- Dominant language
- JavaScript
- Stars
- 10.7k
- Forks
- 1.2k
- Avg merge
- 4d 8h
- Merged PRs (30d)
- 1
Description
I think this property defaulting to `'paths'` is the reason for 50% of issues with emoji. Drawing glyphs is way, way faster. This is something we should do internally when needed: when text is filled with a gradient or stroked, we can use `cairo_glyph_path`, but normally, we should use `cairo_show_[text_]glyphs`.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the glyphDrawingMode property and the text-rendering entry points that call Cairo. Confirm how gradient-filled or stroked text differs from ordinary text, then verify that the property is removed and the appropriate Cairo glyph behavior is used without regressing emoji rendering.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, node.js
- Domain
- computer-graphics
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100