GraphiteEditor / GraphiteEditor/Graphite
Vello renders image with a half-pixel offset
- Dominant language
- Rust
- Stars
- 27.2k
- Forks
- 1.3k
- Avg merge
- 20h 5m
- Merged PRs (30d)
- 57
Description
Drag an image into the viewport and view it at 100% scale. Toggle the Vello renderer on and off. Notice that it shifts down and left when Vello is active, and that it becomes blurry in the Vello version because anti-aliasing is applied to do the shifting. Also at slightly different from screenspace-aligned integer scales, we have the bottom and right edges wrap and appear as a 1px strip along the top and left edges.
https://github.com/user-attachments/assets/8e4a4916-61ca-49c5-aed5-062d72cbc271
My hypothesis is that between SVG and Vello, one assumes pixel coordinates are at the center of a pixel vs. the top left of the pixel.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.