* src/base/ftglyph.c (FT_Glyph_To_Bitmap): added code to return succesfully
when the function is called with a bitmap glyph (the previous code simply returned with an error)
This commit is contained in:
parent
02c3aede1b
commit
f0f1b6ae15
|
@ -1,5 +1,9 @@
|
|||
2002-07-07 David Turner <david@freetype.org>
|
||||
|
||||
* src/base/ftglyph.c (FT_Glyph_To_Bitmap): added code to return succesfully
|
||||
when the function is called with a bitmap glyph (the previous code simply
|
||||
returned with an error)
|
||||
|
||||
* docs/DEBUG.TXT: adding debugging support documentation
|
||||
|
||||
* src/base/ftdebug.c (ft_debug_init), builds/win32/ftdebug.c
|
||||
|
|
|
@ -591,6 +591,11 @@
|
|||
goto Bad;
|
||||
|
||||
clazz = glyph->clazz;
|
||||
|
||||
/* when called with a bitmap glyph, do nothing and return succesfully */
|
||||
if ( clazz == &ft_bitmap_glyph_class )
|
||||
goto Exit;
|
||||
|
||||
if ( !clazz || !clazz->glyph_prepare )
|
||||
goto Bad;
|
||||
|
||||
|
|
Loading…
Reference in New Issue