Support font collections
Open
A-Assets
A-UI
C-Feature
- Dominant language
- Rust
- Stars
- 48.2k
- Forks
- 4.8k
- Avg merge
- 3d 22h
- Merged PRs (30d)
- 161
Description
## What problem does this solve or what need does it fill?
OpenType font files may contain multiple fonts (e.g. regular, bold, italic, thin). When using such a file for displaying text with Bevy, only one of the available fonts can be used.
## What solution would you like?
There could be a way to specify which font of the collection must be used, maybe in `Font` or `TextStyle`.
## What alternative(s) have you considered?
Currently the only alternative is splitting the file into separate files for each font.
Contributor guide
Assessment
This issue has not been assessed yet.