commit | e5d1029ad9a16e1209b2fe7a2f8901aa42a9698c | [log] [tgz] |
---|---|---|
author | Khaled Hosny <khaled@aliftype.com> | Sun Dec 13 11:03:58 2020 |
committer | Dominik Röttsches <drott@chromium.org> | Tue Jan 12 15:39:09 2021 |
tree | d240b9b86b9de9d8baebfe62df9a331d4da8060b | |
parent | 177b26ff80bd50ea5d9cd327cf899d86d1b1c724 [diff] |
[glyf] Guard access to maxp version 1 fields They are not initialized otherwise (ugly design, but it matches the current code). A better approach is to reject maxp 0 if there is glyf table and maxp 1 if there is CFF table, but that would require some surgery since maxp is parsed before all other tables.