Skip to content

Conversation

@the-shank
Copy link

FT_Glyph_To_Bitmap() can fail (for example, due to a failed memory allocation in ft_new_glyph() that is called by FT_Glyph_To_Bitmap()) and would return a non-zero value to signal an error. This patch adds a check to the return value of FT_Glyph_To_Bitmap() to check for non-zero return value and throw an exception in case of error.

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.

1 participant