Compare commits
1 Commits
master
...
1076-regre
Author | SHA1 | Date |
---|---|---|
Anuj Verma | d7f649f283 |
|
@ -502,8 +502,11 @@
|
||||||
/* check whether render mode is correct */
|
/* check whether render mode is correct */
|
||||||
if ( mode != FT_RENDER_MODE_SDF )
|
if ( mode != FT_RENDER_MODE_SDF )
|
||||||
{
|
{
|
||||||
error = FT_THROW( Cannot_Render_Glyph );
|
FT_TRACE0(( "ft_bsdf_render: trying to render bitmap\n" ));
|
||||||
goto Exit;
|
|
||||||
|
/* return OK since the slot is already a bitmap */
|
||||||
|
error = FT_Err_Ok;
|
||||||
|
return error;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( origin )
|
if ( origin )
|
||||||
|
|
Loading…
Reference in New Issue