Merge branch 'master' into var-subset

This commit is contained in:
Michiharu Ariza 2019-03-21 10:21:31 -07:00
commit 084be9a0f4
4 changed files with 1 additions and 0 deletions

View File

@ -474,6 +474,7 @@ struct FDArray : CFFIndexOf<COUNT, FontDict>
for (unsigned i = 0; i < fontDicts.length; i++)
if (fdmap.has (i))
{
if (unlikely (fid >= fdCount)) return_trace (false);
CFFIndexOf<COUNT, FontDict>::set_offset_at (fid++, offset);
offset += FontDict::calculate_serialized_size (fontDicts[i], opszr);
}