forked from minhngoc25a/freetype2
* src/base/ftobjs.c (ft_glyphslot_preset_bitmap): Check glyph format.
This commit is contained in:
parent
4b49a8079f
commit
809d5125af
|
@ -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'.
|
||||
|
|
|
@ -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 )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue