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

Fix TrueTypeFontUnicode when metrics contains null #133

Merged

Conversation

raulfpl
Copy link

@raulfpl raulfpl commented Dec 7, 2023

TrueTypeFontUnicode WriteFont() method throws when metrics contains null values. This commit fixes the issue by filtering out null values

TrueTypeFontUnicode WriteFont() method throws when metrics contains
null values. This commit fixes the issue by filtering out null values
Copy link

what-the-diff bot commented Dec 7, 2023

PR Summary

  • Improved Metrics Array Initialization
    This change ensures that the metrics array only includes valid entries. Before, we could potentially have null values in our array. Now, we're filtering those out. This improvement could lead to enhanced performance and fewer errors related to null value handling.

@VahidN VahidN merged commit 8a81114 into VahidN:master Dec 7, 2023
2 checks passed
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.

2 participants