diff options
author | Alexei Podtelezhnikov <apodtele@gmail.com> | 2021-10-07 22:41:56 -0400 |
---|---|---|
committer | Alexei Podtelezhnikov <apodtele@gmail.com> | 2021-10-07 22:41:56 -0400 |
commit | 22befeef82ff8ab7100c0e40f93f748597674b31 (patch) | |
tree | 4d5f3410db247e19d005f0f48ea4cb39a7732d68 /docs | |
parent | 842ec5ed623724f2139525a3ac11539994fd6b32 (diff) | |
download | freetype2-22befeef82ff8ab7100c0e40f93f748597674b31.tar.gz |
Signedness revisions.
This eliminates explicit casting by switching to unsigned fields.
The revisions mostly impact the handling of CID fonts.
* include/freetype/fttypes.h (FT_Data): Change to unsigned `length`.
* include/freetype/t1tables.h (CID_FaceDictRec): Ditto for `sd_bytes`.
(CID_FaceInfoRec): Ditto for `gd_bytes` and `gd_bytes`.
* include/freetype/internal/tttypes.h (TT_LoaderRec): Ditto for
`byte_len`.
* src/cid/cidgload.c (cid_load_glyph): Updated.
* src/cid/cidload.h (cid_get_offset): Update argument.
* src/cid/cidload.c (cid_get_offset, cid_read_subrs, cid_face_open):
Updated.
* src/cff/cffgload.c (cff_get_glyph_data, cff_free_glyph_data):
Updated.
* src/psaux/psft.c (cf2_getT1SeacComponent): Updated.
* src/truetype/ttgload.c (TT_Process_Composite_Glyph,
load_truetype_glyph): Updated.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/CHANGES | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/CHANGES b/docs/CHANGES index 7dab3e7d7..958845114 100644 --- a/docs/CHANGES +++ b/docs/CHANGES @@ -1,3 +1,15 @@ +CHANGES BETWEEN 2.11.0 and 2.11.1 + + I. IMPORTANT CHANGES + + - Some fields in the `CID_FaceDictRec`, `CID_FaceInfoRec`, and + `FT_Data` structures have been changed from signed to unsigned + type, which better reflects the actual usage. It is also an + additional means to protect against malformed input. + + +====================================================================== + CHANGES BETWEEN 2.10.4 and 2.11.0 I. IMPORTANT CHANGES |