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

Allow greater values for DynamicFont size property #35411

Merged

Conversation

akien-mga
Copy link
Member

See #22581 (comment).

Not using or_greater as there is a max size value that the current
implementation can accept. If using e.g. size 6000 with
FiraSans-Regular.ttf, errors are printed due to failing asserts on a
glyph size that should be within 4096x4096 px.

If anyone needs to go beyond 1024, it's a corner case and you can do it from code by changing the size property.

See godotengine#22581 (comment).

Not using `or_greater` as there *is* a max size value that the current
implementation can accept. If using e.g. size 6000 with
FiraSans-Regular.ttf, errors are printed due to failing asserts on a
glyph size that should be within 4096x4096 px.
@akien-mga akien-mga merged commit 6190690 into godotengine:master Jan 21, 2020
@akien-mga akien-mga deleted the greater-font-sizes-for-everyone branch January 21, 2020 20:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants