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.
1 parent e3042ab commit db26adfCopy full SHA for db26adf
1 file changed
src/ft2font.cpp
@@ -168,7 +168,7 @@ inline double conv(long v)
168
FT_UInt ft_get_char_index_or_warn(FT_Face face, FT_ULong charcode)
169
{
170
FT_UInt glyph_index = FT_Get_Char_Index(face, charcode);
171
- if (charcode && !glyph_index) {
+ if (!glyph_index) {
172
PyErr_WarnEx(NULL, "Required glyph missing from current font.", 1);
173
}
174
return glyph_index;
0 commit comments