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

ctx.set_fonts() Doesn't Apply Fonts with Same Name #5252

Open
rustbasic opened this issue Oct 12, 2024 · 0 comments · May be fixed by #5345
Open

ctx.set_fonts() Doesn't Apply Fonts with Same Name #5252

rustbasic opened this issue Oct 12, 2024 · 0 comments · May be fixed by #5345
Labels
bug Something is broken

Comments

@rustbasic
Copy link
Contributor

If a font file named my_font is set using ctx.set_fonts() and then another font file with the same name is set again using ctx.set_fonts(), it won't be applied.

Additionally, it's recommended to apply fonts immediately using ctx.set_fonts().

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is broken
Projects
None yet
1 participant