Implement subpixel glyph positioning and scaling
The latest `cosmic-text` release performs bucketing calculations after layouting. This allows us to provide proper subpixel offsets, as well as scale any buffer thanks to its linear layout properties. See https://github.com/pop-os/cosmic-text/pull/143.
This commit is contained in:
parent
595e09a497
commit
81dedbd042
4 changed files with 34 additions and 19 deletions
|
@ -10,7 +10,7 @@ license = "MIT OR Apache-2.0 OR Zlib"
|
|||
[dependencies]
|
||||
wgpu = "0.16"
|
||||
etagere = "0.2.8"
|
||||
cosmic-text = "0.8"
|
||||
cosmic-text = "0.9"
|
||||
lru = "0.9"
|
||||
|
||||
[dev-dependencies]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue