Skip to content

Loading .ttf font #1988

Jul 31, 2023 · 1 comments · 7 replies
Discussion options

You must be logged in to vote

the way we load fonts is very different now which does make it much harder to work with, but here is a working example of loading a font.
https://github.com/iced-rs/iced_aw/blob/main/examples/color_picker/src/main.rs#L48

I just wished we could tell the system what we wanted the font to be called rather than what it loads as.

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@fmonniot
Comment options

@lufte
Comment options

@genusistimelord
Comment options

@lufte
Comment options

@genusistimelord
Comment options

Answer selected by zolotaya-ruda
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants