Alexei Podtelezhnikov 5f131cfd20 [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.
2024-05-21 16:24:43 -04:00
..
2024-01-27 11:11:22 -05:00
2024-01-27 11:11:22 -05:00
2024-01-27 11:11:22 -05:00
2024-01-27 11:11:22 -05:00
2024-01-27 11:11:22 -05:00
2024-01-27 11:11:22 -05:00
2024-01-27 11:11:22 -05:00
2024-01-27 11:11:22 -05:00
2024-01-27 11:11:22 -05:00
2024-01-27 11:11:22 -05:00
2024-01-27 11:11:22 -05:00
2024-01-27 11:11:22 -05:00
2024-01-27 11:11:22 -05:00
2024-01-27 11:11:22 -05:00
2024-01-27 11:11:22 -05:00