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

Setting the font to a fractional height causes the Lua script to crash #57

Open
JacobChrist opened this issue Mar 15, 2023 · 0 comments
Assignees
Labels
bug Something isn't working Lua

Comments

@JacobChrist
Copy link
Member

JacobChrist commented Mar 15, 2023

Describe the bug
Setting the font to a fractional height causes the Lua script to crash

To Reproduce
Steps to reproduce the behavior:
Make this call in a Lua script:

	ez.SetFtFont(14, 21.5)

Expected behavior
Don't crash. Scale properly or truncate scale.

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Test on the 5035

@JacobChrist JacobChrist added bug Something isn't working Lua labels Mar 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Lua
Projects
None yet
Development

No branches or pull requests

2 participants