* src/base/ftobjs.c (ft_glyphslot_preset_bitmap): Check glyph format.

This commit is contained in:
Alexei Podtelezhnikov 2018-08-31 22:49:19 -04:00
parent 4b49a8079f
commit 809d5125af
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2018-08-30 Alexei Podtelezhnikov <apodtele@gmail.com>
* src/base/ftobjs.c (ft_glyphslot_preset_bitmap): Check glyph format.
2018-08-31 Armin Hasitzka <prince.cherusker@gmail.com>
[errors] Refine the macro logic surrounding `FT_Error_String'.

View File

@ -361,8 +361,8 @@
FT_Pos width, height, pitch;
if ( slot->internal && ( slot->internal->flags & FT_GLYPH_OWN_BITMAP ) )
return;
if ( slot->format != FT_GLYPH_FORMAT_OUTLINE )
return 1;
if ( origin )
{