diff options
author | Alexei Podtelezhnikov <apodtele@gmail.com> | 2023-03-29 00:21:00 -0400 |
---|---|---|
committer | Alexei Podtelezhnikov <apodtele@gmail.com> | 2023-03-29 00:21:00 -0400 |
commit | 4679fcb666494d200097845b4bd409fafe7eba5a (patch) | |
tree | c5fd40421496e5531283a3f8c8c71ab1c187e6d7 /include/freetype/internal/tttypes.h | |
parent | 4d8db130ea4342317581bab65fc96365ce806b77 (diff) | |
download | freetype2-4679fcb666494d200097845b4bd409fafe7eba5a.tar.gz |
[sfnt] Streamline POST format 2.0 handing (cont'd).
* src/sfnt/ttpost.c (load_format_20): Co-allocate the string data and
their pointers, which makes it easier to handle and free them.
(tt_face_free_ps_names): Updated.
* include/freetype/internal/tttypes.h (TT_Post_20): Update type.
Diffstat (limited to 'include/freetype/internal/tttypes.h')
-rw-r--r-- | include/freetype/internal/tttypes.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/freetype/internal/tttypes.h b/include/freetype/internal/tttypes.h index 3b521924c..fee036bb8 100644 --- a/include/freetype/internal/tttypes.h +++ b/include/freetype/internal/tttypes.h @@ -803,7 +803,7 @@ FT_BEGIN_HEADER FT_UShort num_glyphs; FT_UShort num_names; FT_UShort* glyph_indices; - FT_Char** glyph_names; + FT_Byte** glyph_names; } TT_Post_20Rec, *TT_Post_20; |