Handle text overflow
Cull glyphs fully outside the bounds, and clip glyphs intersecting the bounds. This is all done on the CPU for now. Fixes #2
This commit is contained in:
parent
4e9e10061f
commit
afab881559
3 changed files with 110 additions and 14 deletions
|
@ -9,7 +9,7 @@ license = "MIT OR Apache-2.0 OR Zlib"
|
|||
|
||||
[dependencies]
|
||||
wgpu = "0.13.1"
|
||||
fontdue = "0.7.2"
|
||||
fontdue = { git = "https://github.com/mooman219/fontdue", rev = "828b4f4" }
|
||||
etagere = "0.2.6"
|
||||
|
||||
[dev-dependencies]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue