Anuj Verma pushed to branch 1076-regression-ft_render_glyph-returns-error-when-trying-to-render-bitmap-otb-fonts at FreeType / FreeType
WARNING: The push did not contain any new commits, but force pushed to delete the commits and changes below.
Deleted commits:
-
3b14b0b0
by Anuj Verma at 2021-08-15T11:19:03+05:30
-
9ad1996f
by Anuj Verma at 2021-08-15T11:49:22+05:30
1 changed file:
Changes:
... | ... | @@ -502,8 +502,11 @@ |
502 | 502 |
/* check whether render mode is correct */
|
503 | 503 |
if ( mode != FT_RENDER_MODE_SDF )
|
504 | 504 |
{
|
505 |
- error = FT_THROW( Cannot_Render_Glyph );
|
|
506 |
- goto Exit;
|
|
505 |
+ FT_TRACE0(( "ft_bsdf_render: trying to render bitmap\n" ));
|
|
506 |
+ |
|
507 |
+ /* return OK since the slot is already a bitmap */
|
|
508 |
+ error = FT_Err_Ok;
|
|
509 |
+ return error;
|
|
507 | 510 |
}
|
508 | 511 |
|
509 | 512 |
if ( origin )
|