[base] Fix error handing in MM functions.
* src/base/ftmm.c (FT_Set_Var_Design_Coordinates, FT_Set_MM_Blend_Coordinates, FT_Set_Var_Blend_Coordinates): Implement it.
This commit is contained in:
parent
e80e4d811a
commit
1e55060109
|
@ -1,3 +1,11 @@
|
|||
2017-01-31 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
[base] Fix error handing in MM functions.
|
||||
|
||||
* src/base/ftmm.c (FT_Set_Var_Design_Coordinates,
|
||||
FT_Set_MM_Blend_Coordinates, FT_Set_Var_Blend_Coordinates):
|
||||
Implement it.
|
||||
|
||||
2017-01-31 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
[truetype] Fix sanity check for `gvar' table (#50184).
|
||||
|
|
|
@ -205,7 +205,9 @@
|
|||
error = service_mm->set_var_design( face, num_coords, coords );
|
||||
}
|
||||
|
||||
error = ft_face_get_mvar_service( face, &service_mvar );
|
||||
if ( !error )
|
||||
error = ft_face_get_mvar_service( face, &service_mvar );
|
||||
|
||||
if ( !error )
|
||||
{
|
||||
if ( service_mvar->metrics_adjust )
|
||||
|
@ -276,7 +278,9 @@
|
|||
error = service_mm->set_mm_blend( face, num_coords, coords );
|
||||
}
|
||||
|
||||
error = ft_face_get_mvar_service( face, &service_mvar );
|
||||
if ( !error )
|
||||
error = ft_face_get_mvar_service( face, &service_mvar );
|
||||
|
||||
if ( !error )
|
||||
{
|
||||
if ( service_mvar->metrics_adjust )
|
||||
|
@ -322,7 +326,9 @@
|
|||
error = service_mm->set_mm_blend( face, num_coords, coords );
|
||||
}
|
||||
|
||||
error = ft_face_get_mvar_service( face, &service_mvar );
|
||||
if ( !error )
|
||||
error = ft_face_get_mvar_service( face, &service_mvar );
|
||||
|
||||
if ( !error )
|
||||
{
|
||||
if ( service_mvar->metrics_adjust )
|
||||
|
|
Loading…
Reference in New Issue