Jonas Jenwald 505f15f221 Avoid accidentally getting the entire font file in readNameTable (issue 7020)
In the PDF file in question, some of the 'name' table entries have `record.length === 0`. This becomes problematic in the non-unicode case, since `font.getBytes(0)` will fetch the *entire* stream.
Given that OTS rejects 'name' entries larger than `2^16`, this thus explain the sanitizer errors.

Fixes 7020.
2016-03-01 21:59:49 +01:00
..
2015-12-29 15:10:38 -06:00
2016-01-28 11:32:59 -06:00
2016-01-28 11:32:59 -06:00
2015-12-16 23:52:16 +01:00
2015-12-16 23:52:16 +01:00
2016-01-28 12:11:46 -06:00
2016-01-28 11:56:42 -06:00