Werner Lemberg pushed to branch master at FreeType / FreeType
Commits:
-
9508811a
by Werner Lemberg at 2023-02-01T12:01:58+01:00
1 changed file:
Changes:
... | ... | @@ -1004,16 +1004,16 @@ |
1004 | 1004 | GX_ItemVarData varData;
|
1005 | 1005 | FT_ItemVarDelta* deltaSet;
|
1006 | 1006 | |
1007 | - FT_UInt master, j;
|
|
1008 | - FT_Fixed* scalars;
|
|
1009 | - FT_ItemVarDelta returnValue;
|
|
1007 | + FT_UInt master, j;
|
|
1008 | + FT_Fixed* scalars;
|
|
1009 | + FT_ItemVarDelta returnValue;
|
|
1010 | 1010 | |
1011 | 1011 | |
1012 | - if ( !face->blend->normalizedcoords )
|
|
1012 | + if ( !face->blend || !face->blend->normalizedcoords )
|
|
1013 | 1013 | return 0;
|
1014 | 1014 | |
1015 | - /* OpenType 1.8.4+: No variation data for this item
|
|
1016 | - * as indices have special value 0xFFFF. */
|
|
1015 | + /* OpenType 1.8.4+: No variation data for this item */
|
|
1016 | + /* as indices have special value 0xFFFF. */
|
|
1017 | 1017 | if ( outerIndex == 0xFFFF && innerIndex == 0xFFFF )
|
1018 | 1018 | return 0;
|
1019 | 1019 |