-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Open
Description
Describe the problem
Using the bevy integration with egui both are using ab_fonts under the hood, however because egui abstracts away the underlying usage of a FontArc there is no ability to pass this from bevy to egui, instead we have to either load the font twice, or use a custom fork of ab_glyph that allows fetching the underlying data as either &[u8]
or Vec<u8>
Describe the solution you'd like
Ability to directly insert FontArcs into FontDefinitions or FontCacheImpl
Describe alternatives you've considered
Two current alternatives, to either load the font twice, or use a custom fork of ab_glyph that allows fetching the underlying data as either &[u8]
or Vec<u8>
Metadata
Metadata
Assignees
Labels
No labels