Problem Description
Right now, I think you can load dynamic fonts by putting them in the system fonts directory, and they will be automatically loaded. I want the ability to add new fonts dynamically at runtime by passing in font file data.
Proposed Solution
Maybe something like
use_consume::<FontsConfig>().add_font("Rubik", std::fs::read(rubik_path));
Alternatives Considered
No response
Additional Context
No response
Problem Description
Right now, I think you can load dynamic fonts by putting them in the system fonts directory, and they will be automatically loaded. I want the ability to add new fonts dynamically at runtime by passing in font file data.
Proposed Solution
Maybe something like
Alternatives Considered
No response
Additional Context
No response