From 3515c8b187e2316dcf3abaefc84917b09449d485 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Sun, 7 Oct 2018 22:27:00 -0400 Subject: [PATCH] [aat] Rename --- src/hb-aat-layout-common.hh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/hb-aat-layout-common.hh b/src/hb-aat-layout-common.hh index 97866919a..fd842c2e5 100644 --- a/src/hb-aat-layout-common.hh +++ b/src/hb-aat-layout-common.hh @@ -39,7 +39,7 @@ using namespace OT; * Binary Searching Tables */ -struct BinSearchHeader +struct VarSizedBinSearchHeader { inline bool sanitize (hb_sanitize_context_t *c) const @@ -62,7 +62,7 @@ struct BinSearchHeader }; template -struct BinSearchArrayOf +struct VarSizedBinSearchArrayOf { inline const Type& operator [] (unsigned int i) const { @@ -133,7 +133,7 @@ struct BinSearchArrayOf } protected: - BinSearchHeader header; + VarSizedBinSearchHeader header; UnsizedArrayOf bytesZ; public: DEFINE_SIZE_ARRAY (10, bytesZ); @@ -213,7 +213,7 @@ struct LookupFormat2 protected: HBUINT16 format; /* Format identifier--format = 2 */ - BinSearchArrayOf > + VarSizedBinSearchArrayOf > segments; /* The actual segments. These must already be sorted, * according to the first word in each one (the last * glyph in each segment). */ @@ -270,7 +270,7 @@ struct LookupFormat4 protected: HBUINT16 format; /* Format identifier--format = 2 */ - BinSearchArrayOf > + VarSizedBinSearchArrayOf > segments; /* The actual segments. These must already be sorted, * according to the first word in each one (the last * glyph in each segment). */ @@ -315,7 +315,7 @@ struct LookupFormat6 protected: HBUINT16 format; /* Format identifier--format = 6 */ - BinSearchArrayOf > + VarSizedBinSearchArrayOf > entries; /* The actual entries, sorted by glyph index. */ public: DEFINE_SIZE_ARRAY (8, entries);