commit | 0da2a1155ed576646d44ac5f7602e625800abe42 | [log] [tgz] |
---|---|---|
author | Alexei Podtelezhnikov <apodtele@gmail.com> | Mon Dec 13 11:44:24 2021 -0500 |
committer | Alexei Podtelezhnikov <apodtele@gmail.com> | Mon Dec 13 11:44:24 2021 -0500 |
tree | 12e040fc35902b66ab00888613d547807db87a39 | |
parent | fd03dcc1220453ac9e3e70c664c3f65cc72aefee [diff] |
[truetype] Upstream the hdmx binary search. * src/truetype/ttobjs.h (TT_SizeRec): Add `widthp` for the hdmx widths. * src/truetype/ttobjs.c (tt_size_reset): Initialize `widthp` even though it might never be used by the interpreter. * src/truetype/ttgload.c (tt_loader_init): Avoid repeated searches in the hdmx table.