diff options
author | Alexei Podtelezhnikov <apodtele@gmail.com> | 2023-03-20 16:53:51 -0400 |
---|---|---|
committer | Alexei Podtelezhnikov <apodtele@gmail.com> | 2023-03-20 16:53:51 -0400 |
commit | 4d8db130ea4342317581bab65fc96365ce806b77 (patch) | |
tree | 3ab5c82afb8ca7437a7fee5860381f00c9c9ee1a /src/cff/cffparse.h | |
parent | 4f0a55d15ed1c9af267ed8223cc2f04307a3d656 (diff) | |
download | freetype2-4d8db130ea4342317581bab65fc96365ce806b77.tar.gz |
[cff] Simplify `t2_strings` management in the old engine.
* src/cff/cffparse.c (cff_parser_run): Allocate the charstring buffers
and the list nodes together so that they can be freed at once.
(finalize_t2_strings): Removed as no longer needed.
(cff_parser_done): Updated.
Diffstat (limited to 'src/cff/cffparse.h')
-rw-r--r-- | src/cff/cffparse.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/cff/cffparse.h b/src/cff/cffparse.h index 58d59fa4a..b6378a8e8 100644 --- a/src/cff/cffparse.h +++ b/src/cff/cffparse.h @@ -133,15 +133,6 @@ FT_BEGIN_HEADER FT_END_HEADER -#ifdef CFF_CONFIG_OPTION_OLD_ENGINE - typedef struct CFF_T2_String_ - { - FT_Byte* start; - FT_Byte* limit; - - } CFF_T2_StringRec, *CFF_T2_String; -#endif /* CFF_CONFIG_OPTION_OLD_ENGINE */ - #endif /* CFFPARSE_H_ */ |