ref: 1e2eb65048f75c64b68708efed6ce904c31f3b2f
parent: 360e2507a38588e19fa6d2fc30706db74db0d958
author: Werner Lemberg <wl@gnu.org>
date: Mon Mar 7 05:13:29 EST 2022
Documentation, whitespace.
--- a/docs/CHANGES
+++ b/docs/CHANGES
@@ -12,6 +12,16 @@
This work was Moazin Kathri's GSoC 2019 project.
+ II. MISCELLANEOUS
+
+ - The internal 'zlib' code has been updated to be in sync with the
+ current 'zlib' version (1.2.11).
+
+ - Some minor improvements of the building systems, in particular
+ handling of the 'zlib' library (internal vs. external).
+
+ - Various other minor bug and documentation fixes.
+
======================================================================
--- a/src/sfnt/ttcolr.c
+++ b/src/sfnt/ttcolr.c
@@ -857,10 +857,10 @@
p = colr->clip_list;
- /* limit points to the first byte after the end of the color table. */
- /* Thus, in subsequent limit checks below we need to check whether the */
- /* read pointer is strictly greater than a position offset */
- /* by certain field sizes to the left of that position. */
+ /* Limit points to the first byte after the end of the color table. */
+ /* Thus, in subsequent limit checks below we need to check whether the */
+ /* read pointer is strictly greater than a position offset by certain */
+ /* field sizes to the left of that position. */
limit = (FT_Byte*)colr->table + colr->table_size;
/* Check whether we can extract one `uint8` and one `uint32`. */