Merge branch 'var-subset' of https://github.com/harfbuzz/harfbuzz into var-subset
This commit is contained in:
commit
8ec279072e
|
@ -474,6 +474,7 @@ struct FDArray : CFFIndexOf<COUNT, FontDict>
|
||||||
for (unsigned i = 0; i < fontDicts.length; i++)
|
for (unsigned i = 0; i < fontDicts.length; i++)
|
||||||
if (fdmap.has (i))
|
if (fdmap.has (i))
|
||||||
{
|
{
|
||||||
|
if (unlikely (fid >= fdCount)) return_trace (false);
|
||||||
CFFIndexOf<COUNT, FontDict>::set_offset_at (fid++, offset);
|
CFFIndexOf<COUNT, FontDict>::set_offset_at (fid++, offset);
|
||||||
offset += FontDict::calculate_serialized_size (fontDicts[i], opszr);
|
offset += FontDict::calculate_serialized_size (fontDicts[i], opszr);
|
||||||
}
|
}
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue