From c943d408e08fbe6d3e12f647b4a10d94a8198e9b Mon Sep 17 00:00:00 2001 From: Werner Lemberg Date: Tue, 18 Oct 2022 11:41:00 +0200 Subject: [PATCH] Minor formatting. --- docs/CHANGES | 22 ++++++++++------------ src/truetype/ttgxvar.c | 4 ++-- 2 files changed, 12 insertions(+), 14 deletions(-) diff --git a/docs/CHANGES b/docs/CHANGES index fe2a202fe..5127957f0 100644 --- a/docs/CHANGES +++ b/docs/CHANGES @@ -1,24 +1,22 @@ CHANGES BETWEEN 2.12.1 and 2.12.2 I. IMPORTANT BUG FIXES - + II. MISCELLANEOUS - - TrueType interpreter version 38 (aka Infinality) that was first - introduced about 10 years ago in FreeType 2.4.11 is now deprecated - and slated to be removed in the next version. TrueType interpreter - version 40 has been FreeType default version for 6 years now and - provides an excelent alternative. This is the last FreeType version - with TT_INTERPRETER_VERSION_38 and TT_INTERPRETER_VERSION_40 treated - differently. - - I. MISCELLANEOUS + - TrueType interpreter version 38 (also known as 'Infinality') that + was first introduced about 10 years ago in FreeType 2.4.11 is now + deprecated and slated to be removed in the next version. TrueType + interpreter version 40 has been FreeType's default version for six + years now and provides an excellent alternative. This is the last + FreeType version with TT_INTERPRETER_VERSION_38 and + TT_INTERPRETER_VERSION_40 treated differently. - The only referenced but never documented configuration macro `FT_CONFIG_OPTION_NO_GLYPH_NAMES` has been removed. - -====================================================================== + +====================================================================== CHANGES BETWEEN 2.12.0 and 2.12.1 diff --git a/src/truetype/ttgxvar.c b/src/truetype/ttgxvar.c index 3c918caa2..14d272f58 100644 --- a/src/truetype/ttgxvar.c +++ b/src/truetype/ttgxvar.c @@ -959,7 +959,7 @@ /* OpenType 1.8.4+: No variation data for this item * as indices have special value 0xFFFF. */ - if (outerIndex == 0xFFFF && innerIndex == 0xFFFF) + if ( outerIndex == 0xFFFF && innerIndex == 0xFFFF ) return 0; /* See pseudo code from `Font Variations Overview' */ @@ -2208,7 +2208,7 @@ FT_FRAME_END }; - /* `num_instances' holds the number of all named instances including */ + /* `num_instances` holds the number of all named instances including */ /* the default instance, which might be missing in the table of named */ /* instances (in 'fvar'). This value is validated in `sfobjs.c` and */ /* may be reset to 0 if consistency checks fail. */