Commit 33a346f
committed
Skia: Enable subpixel glyph positioning to fix uneven text spacing
Without subpixel positioning, Skia rounds each glyph position to the
nearest integer pixel. Since parley provides fractional glyph positions,
this rounding caused visible spacing issues at low resolutions.
The old Skia Paragraph::paint() path handled subpixel positioning
internally, so this was a regression introduced when switching to
parley for text layout.
Fixes slint-ui#107521 parent fdd4ec2 commit 33a346f
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1017 | 1017 | | |
1018 | 1018 | | |
1019 | 1019 | | |
1020 | | - | |
| 1020 | + | |
| 1021 | + | |
1021 | 1022 | | |
1022 | 1023 | | |
1023 | 1024 | | |
| |||
0 commit comments