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:
Héctor Ramón Jiménez 2023-06-20 06:08:41 +02:00 committed by Josh Groves
parent 595e09a497
commit 81dedbd042
4 changed files with 34 additions and 19 deletions

View file

@ -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]