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: (*StyleSetter).SetFontSize doesn't work if default font was changed #822

Closed
gucio321 opened this issue Jul 10, 2024 · 1 comment
Closed

Comments

@gucio321
Copy link
Collaborator

add this on top of multiplefonts example:

                g.Style().SetFontSize(20).To(
                        g.Label("I'm font size 20"),
                ),
                g.Style().SetFontSize(25).To(
                        g.Label("I'm font size 25"),
                ),

should display ?s
then comment out SetDefaultFont call and it should work normally

tested on v0.8.1

@gucio321
Copy link
Collaborator Author

nevermind, turns out I'm using some strange font and in fact this duplicates #712

@gucio321 gucio321 closed this as not planned Won't fix, can't repro, duplicate, stale Jul 10, 2024
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