commit | 9597a62bac07812f12111828195e51dcb4338a84 | [log] [tgz] |
---|---|---|
author | Alexei Podtelezhnikov <apodtele@gmail.com> | Sat Apr 01 22:34:30 2023 -0400 |
committer | Alexei Podtelezhnikov <apodtele@gmail.com> | Sat Apr 01 22:34:30 2023 -0400 |
tree | 74265102d118920dbd08c771502ff5838beef801 | |
parent | 6d7b8b22c4f4ca6cde1998997ae4ea2aa6e57d26 [diff] |
[sfnt] Consolidate POST version 2.0 and 2.5 (pt 1). The deprecated POST version 2.5 can be handled using the data structures of version 2.0. The goal is to reduce the footprint. * include/freetype/internal/tttypes.h (TT_Post_Names): Absorb and... (TT_Post_20, TT_Post_25): ... remove these structures. src/sfnt/ttpost.c (load_post_names, tt_face_get_ps_name, tt_face_free_ps_names, load_format_20): Updated accordingly. (load_format_25): ditto and convert offsets to glyph indices.