commit | 5f131cfd20135ac5a1609854a1c2bde425741d3e | [log] [tgz] |
---|---|---|
author | Alexei Podtelezhnikov <apodtele@gmail.com> | Tue May 21 16:24:43 2024 -0400 |
committer | Alexei Podtelezhnikov <apodtele@gmail.com> | Tue May 21 16:24:43 2024 -0400 |
tree | 0ffea7766dca69f855010e55499aa96ca2f9cc0c | |
parent | 99be2b315425f51184f23fde2a3c12b528c6a612 [diff] |
[cff, truetype] Validate variation axes immediately. Instead of validating variation axes in every access, OpenType specs suggest that peak = 0 be used to tag invalid ranges. This implements just that once during loading. * src/cff/cffload.c (cff_blend_build_vector): Move the range checks... (cff_vstore_load): ... here. * src/truetype/ttgxvar.c (tt_var_get_item_delta): Ditto... (tt_var_load_item_variation_store): ... ditto.