From 70665adc2805b10453a6c48261201d9bb4f25243 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Fri, 15 Mar 2024 21:05:40 -0600 Subject: [PATCH] [varc] Add guards --- src/OT/Var/VARC/VARC.hh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/OT/Var/VARC/VARC.hh b/src/OT/Var/VARC/VARC.hh index 83bf550d9..5081550e1 100644 --- a/src/OT/Var/VARC/VARC.hh +++ b/src/OT/Var/VARC/VARC.hh @@ -12,6 +12,8 @@ namespace OT { * https://github.com/harfbuzz/boring-expansion-spec/blob/main/VARC.md */ +#ifndef HB_NO_VAR + struct VarComponent { HB_INTERNAL hb_ubytes_t @@ -117,6 +119,7 @@ VarComponent::get_path_at (hb_font_t *font, hb_codepoint_t parent_gid, hb_draw_s return record; } +#endif //}