From a0f999cd95834dce7f98f34890aaccb44c3179d5 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Sat, 29 Oct 2022 11:13:40 -0600 Subject: [PATCH] [config] Rename HB_NO_VARIATIONS2 to HB_NO_AVAR2 --- src/hb-config.hh | 2 +- src/hb-ot-var-avar-table.hh | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/hb-config.hh b/src/hb-config.hh index d56617f6a..67e8fe822 100644 --- a/src/hb-config.hh +++ b/src/hb-config.hh @@ -104,7 +104,7 @@ #ifdef HB_NO_BORING_EXPANSION #define HB_NO_BEYOND_64K -#define HB_NO_VARIATIONS2 +#define HB_NO_AVAR2 #endif #ifdef HB_DISABLE_DEPRECATED diff --git a/src/hb-ot-var-avar-table.hh b/src/hb-ot-var-avar-table.hh index f60bc4a3c..cc5c5c006 100644 --- a/src/hb-ot-var-avar-table.hh +++ b/src/hb-ot-var-avar-table.hh @@ -143,7 +143,7 @@ struct avar TRACE_SANITIZE (this); if (!(version.sanitize (c) && (version.major == 1 -#ifndef HB_NO_VARIATIONS2 +#ifndef HB_NO_AVAR2 || version.major == 2 #endif ) && @@ -159,7 +159,7 @@ struct avar map = &StructAfter (*map); } -#ifndef HB_NO_VARIATIONS2 +#ifndef HB_NO_AVAR2 if (version.major < 2) return_trace (true); @@ -182,7 +182,7 @@ struct avar map = &StructAfter (*map); } -#ifndef HB_NO_VARIATIONS2 +#ifndef HB_NO_AVAR2 if (version.major < 2) return;