commit | 32f13c11a4edb2c22d5fad5dca7eb9bcdf2bcdad | [log] [tgz] |
---|---|---|
author | Alexei Podtelezhnikov <apodtele@gmail.com> | Thu Nov 25 22:38:40 2021 -0500 |
committer | Alexei Podtelezhnikov <apodtele@gmail.com> | Thu Nov 25 22:38:40 2021 -0500 |
tree | ea1842eac2d94eae04e9579a7ecc969a3e4fe0b6 | |
parent | cff026d41599945498044d2f4dcc0e610ffb6929 [diff] |
[truetype] Quietly reject out-of-spec `hdmx` tables. The `hdmx` table is optional and can be safely rejected without an error if it does not follow specifications. The record size must be equal to the number of glyphs + 2 + 32-bit padding. * src/truetype/ttpload.c (tt_face_load_hdmx): Thoroughly check the record size and improve tracing.