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

Font loading from subdirectories fails for nested .ttf files #283

Closed
geerzo opened this issue Mar 14, 2024 · 0 comments
Closed

Font loading from subdirectories fails for nested .ttf files #283

geerzo opened this issue Mar 14, 2024 · 0 comments

Comments

@geerzo
Copy link
Contributor

geerzo commented Mar 14, 2024

This is related to #206 but addresses the .ttf file. Currently if your font is in a subdirectory it will load the .kttf file from the subdirectory but will always look for the .ttf file in the /assets root folder. This can be reproduced by renaming /assets/roboto.ttf to something else and then running the font_size_tests.rs use case.

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

1 participant