Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[simple] Support for custom fonts #181

Closed
Jayy001 opened this issue Oct 19, 2022 · 2 comments
Closed

[simple] Support for custom fonts #181

Jayy001 opened this issue Oct 19, 2022 · 2 comments

Comments

@Jayy001
Copy link

Jayy001 commented Oct 19, 2022

Would be interesting to have some custom fonts availability!

@raisjn
Copy link
Member

raisjn commented Oct 23, 2022

you can use custom fonts by setting an env variable, see the line: https://github.com/rmkit-dev/rmkit/blob/master/src/rmkit/fb/stb_text.cpy#L29

let me know if it works!

@tenJirka
Copy link

I can confirm that changing system variable RMKIT_DEFAULT_FONT to path to desired font works and changes the font.

@raisjn raisjn closed this as completed Aug 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants