Commit a0559ad5 authored by Alexandre Julliard's avatar Alexandre Julliard

gdi32: Properly fail mapping glyph for invalid characters in fonts without encoding.

parent 057b4b41
......@@ -2919,6 +2919,8 @@ static UINT get_glyph_index( struct gdi_font *font, UINT glyph )
glyph = (unsigned char)ch;
font_funcs->get_glyph_index( font, &glyph, FALSE );
}
else return 0;
return glyph;
}
......
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