Commit 89e79d81 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

tools/sfnt2fon: Just skip all glyphs below 0x20.

parent ac6325e4
......@@ -439,8 +439,8 @@ static struct fontinfo *fill_fontinfo( const char *face_name, int ppem, int enc,
el = 0;
first_char = FT_Get_First_Char(face, &gi);
if(first_char == 0xd) /* fontforge's first glyph is 0xd, we'll catch this and skip it */
first_char = 32; /* FT_Get_Next_Char for some reason returns too high
if(first_char < 0x20) /* Ignore glyphs below 0x20 */
first_char = 0x20; /* FT_Get_Next_Char for some reason returns too high
number in this case */
info = calloc( 1, sizeof(*info) );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment