diff --git a/FDK/Tools/Programs/makeotf/makeotf_lib/api/hotconv.h b/FDK/Tools/Programs/makeotf/makeotf_lib/api/hotconv.h index 43a827d7e..1d8dc21d4 100644 --- a/FDK/Tools/Programs/makeotf/makeotf_lib/api/hotconv.h +++ b/FDK/Tools/Programs/makeotf/makeotf_lib/api/hotconv.h @@ -10,7 +10,7 @@ This software is licensed as OpenSource, under the Apache License, Version 2.0. extern "C" { #endif -#define HOT_VERSION 0x010055 /* Library version (1.0.85) */ +#define HOT_VERSION 0x010056 /* Library version (1.0.86) */ /*Warning: this string is now part of heuristic used by CoolType to identify the first round of CoolType fonts which had the backtrack sequence of a chaining contextual substitution ordered incorrectly. Fonts with the old ordering MUST match diff --git a/FDK/Tools/Programs/makeotf/makeotf_lib/source/hotconv/OS_2.c b/FDK/Tools/Programs/makeotf/makeotf_lib/source/hotconv/OS_2.c index dc99cbac1..fed755c72 100644 --- a/FDK/Tools/Programs/makeotf/makeotf_lib/source/hotconv/OS_2.c +++ b/FDK/Tools/Programs/makeotf/makeotf_lib/source/hotconv/OS_2.c @@ -375,7 +375,7 @@ int OS_2Fill(hotCtx g) { if (h->tbl.usLowerOpticalPointSize > 0) { h->tbl.version = g->font.os2Version = 5; } - else if ((h->tbl.fsSelection & ~0xfe) > 0) { + else if ((h->tbl.fsSelection & ~0xff) > 0) { /* If any of the OS/2 v 4 fsSelection bits are on.*/ h->tbl.version = g->font.os2Version = 4; }