Update Android port
* src/sfnt.c (sfnt_normalize_blend): Don't crash when axis variations are not present.
This commit is contained in:
parent
54d79f37ae
commit
ee9c0a482c
1 changed files with 2 additions and 1 deletions
|
@ -13582,7 +13582,8 @@ sfnt_normalize_blend (struct sfnt_blend *blend)
|
|||
/* Now, apply axis variations, but only if the avar table has the
|
||||
right number of axes. */
|
||||
|
||||
if (blend->fvar->axis_count == blend->avar->axis_count)
|
||||
if (blend->avar && (blend->fvar->axis_count
|
||||
== blend->avar->axis_count))
|
||||
{
|
||||
for (i = 0; i < blend->fvar->axis_count; ++i)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue