-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Labels
featureNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is neededlayoutrenderingtext
Milestone
Description
wgpu_glyph uses glyph-brush, which in turn uses rusttype. While the current implementation is able to layout text quite nicely, it does not perform any text shaping.
Text shaping with font fallback is a necessary feature for any serious GUI toolkit. It unlocks support to truly localize your application, supporting many different scripts.
The only available library that does a great job at shaping is HarfBuzz, which is implemented in C++. skribo seems to be a nice HarfBuzz wrapper for Rust.
This feature will probably imply rewriting wgpu_glyph entirely, as caching will be more complicated and the API will probably need to ask for more data.
usagi, valpackett, brendanzab, wesrer, Tarnadas and 17 moreusagi, brendanzab, rMazeiks, ghishadow, wismill and 1 moreusagiunreal79, ghishadow, flomang and 0x4ce66f11
Metadata
Metadata
Assignees
Labels
featureNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is neededlayoutrenderingtext