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

Changed ExportFontAsCode to use given font's padding. #2525

Merged
merged 1 commit into from
Jun 16, 2022

Conversation

TheTophatDemon
Copy link
Contributor

When using ExportFontAsCode(...), the exported .h file sets the font padding to the value of the constant FONT_TTF_DEFAULT_CHARS_PADDING. This results in incorrect rendering of certain AngelCode fonts, so this pull request instead uses the glyphPadding of the Font given as an argument.

@raysan5 raysan5 merged commit a6e31ca into raysan5:master Jun 16, 2022
@raysan5
Copy link
Owner

raysan5 commented Jun 16, 2022

@TheTophatDemon thanks for the fix

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

Successfully merging this pull request may close these issues.

None yet

2 participants