Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 60cd171 + 79218df commit c93142fCopy full SHA for c93142f
1 file changed
src/ft2font.cpp
@@ -508,6 +508,7 @@ FT2Font::FT2Font(FT_Open_Args &open_args, long hinting_factor_) : image(), face(
508
509
error = FT_Set_Char_Size(face, 12 * 64, 0, 72 * (unsigned int)hinting_factor, 72);
510
if (error) {
511
+ FT_Done_Face(face);
512
throw "Could not set the fontsize";
513
}
514
0 commit comments