From 2520a82df9116fbc287cec1be66d05874c467bbb Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Wed, 31 Mar 2021 15:34:26 -0600 Subject: [PATCH] s/LArrayOf/Array32Of/g --- src/hb-aat-layout-ankr-table.hh | 2 +- src/hb-aat-layout-just-table.hh | 2 +- src/hb-aat-ltag-table.hh | 2 +- src/hb-open-file.hh | 4 ++-- src/hb-open-type.hh | 4 ++-- src/hb-ot-color-cbdt-table.hh | 8 ++++---- src/hb-ot-layout-common.hh | 2 +- src/hb-ot-meta-table.hh | 2 +- 8 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/hb-aat-layout-ankr-table.hh b/src/hb-aat-layout-ankr-table.hh index 0b46c06dd..63fac8452 100644 --- a/src/hb-aat-layout-ankr-table.hh +++ b/src/hb-aat-layout-ankr-table.hh @@ -54,7 +54,7 @@ struct Anchor DEFINE_SIZE_STATIC (4); }; -typedef LArrayOf GlyphAnchors; +typedef Array32Of GlyphAnchors; struct ankr { diff --git a/src/hb-aat-layout-just-table.hh b/src/hb-aat-layout-just-table.hh index f6e73d8ea..7b77a43a1 100644 --- a/src/hb-aat-layout-just-table.hh +++ b/src/hb-aat-layout-just-table.hh @@ -310,7 +310,7 @@ struct WidthDeltaPair DEFINE_SIZE_STATIC (24); }; -typedef OT::LArrayOf WidthDeltaCluster; +typedef OT::Array32Of WidthDeltaCluster; struct JustificationCategory { diff --git a/src/hb-aat-ltag-table.hh b/src/hb-aat-ltag-table.hh index 14833cb38..6d771e151 100644 --- a/src/hb-aat-ltag-table.hh +++ b/src/hb-aat-ltag-table.hh @@ -80,7 +80,7 @@ struct ltag protected: HBUINT32 version; /* Table version; currently 1 */ HBUINT32 flags; /* Table flags; currently none defined */ - LArrayOf + Array32Of tagRanges; /* Range for each tag's string */ public: DEFINE_SIZE_ARRAY (12, tagRanges); diff --git a/src/hb-open-file.hh b/src/hb-open-file.hh index 20ed56cdf..66ca03076 100644 --- a/src/hb-open-file.hh +++ b/src/hb-open-file.hh @@ -218,7 +218,7 @@ struct TTCHeaderVersion1 Tag ttcTag; /* TrueType Collection ID string: 'ttcf' */ FixedVersion<>version; /* Version of the TTC Header (1.0), * 0x00010000u */ - LArrayOf> + Array32Of> table; /* Array of offsets to the OffsetTable for each font * from the beginning of the file */ public: @@ -295,7 +295,7 @@ struct ResourceRecord HBINT16 nameOffset; /* Offset from beginning of resource name list * to resource name, -1 means there is none. */ HBUINT8 attrs; /* Resource attributes */ - NNOffset24To> + NNOffset24To> offset; /* Offset from beginning of data block to * data for this resource */ HBUINT32 reserved; /* Reserved for handle to resource */ diff --git a/src/hb-open-type.hh b/src/hb-open-type.hh index 231985a0e..90f306fc0 100644 --- a/src/hb-open-type.hh +++ b/src/hb-open-type.hh @@ -711,12 +711,12 @@ struct ArrayOf DEFINE_SIZE_ARRAY (sizeof (LenType), arrayZ); }; template -using LArrayOf = ArrayOf; +using Array32Of = ArrayOf; using PString = ArrayOf; /* Array of Offset's */ template using Array16OfOffset16To = ArrayOf, HBUINT16>; -template using Array16OfOffset32To = ArrayOf>; +template using Array16OfOffset32To = ArrayOf, HBUINT16>; template using Array32OfOffset32To = ArrayOf, HBUINT32>; /* Array of offsets relative to the beginning of the array itself. */ diff --git a/src/hb-ot-color-cbdt-table.hh b/src/hb-ot-color-cbdt-table.hh index 48ea9b015..265d8309d 100644 --- a/src/hb-ot-color-cbdt-table.hh +++ b/src/hb-ot-color-cbdt-table.hh @@ -697,7 +697,7 @@ struct BitmapSizeTable struct GlyphBitmapDataFormat17 { SmallGlyphMetrics glyphMetrics; - LArrayOf data; + Array32Of data; public: DEFINE_SIZE_ARRAY (9, data); }; @@ -705,14 +705,14 @@ struct GlyphBitmapDataFormat17 struct GlyphBitmapDataFormat18 { BigGlyphMetrics glyphMetrics; - LArrayOf data; + Array32Of data; public: DEFINE_SIZE_ARRAY (12, data); }; struct GlyphBitmapDataFormat19 { - LArrayOf data; + Array32Of data; public: DEFINE_SIZE_ARRAY (4, data); }; @@ -798,7 +798,7 @@ struct CBLC protected: FixedVersion<> version; - LArrayOf sizeTables; + Array32Of sizeTables; public: DEFINE_SIZE_ARRAY (8, sizeTables); }; diff --git a/src/hb-ot-layout-common.hh b/src/hb-ot-layout-common.hh index 33cced213..dc59dcdc7 100644 --- a/src/hb-ot-layout-common.hh +++ b/src/hb-ot-layout-common.hh @@ -3204,7 +3204,7 @@ struct FeatureVariations protected: FixedVersion<> version; /* Version--0x00010000u */ - LArrayOf + Array32Of varRecords; public: DEFINE_SIZE_ARRAY_SIZED (8, varRecords); diff --git a/src/hb-ot-meta-table.hh b/src/hb-ot-meta-table.hh index 735106bf5..e31447f8f 100644 --- a/src/hb-ot-meta-table.hh +++ b/src/hb-ot-meta-table.hh @@ -113,7 +113,7 @@ struct meta * Offset from the beginning of the table to the data. * Per OT specification: * Reserved. Not used; should be set to 0. */ - LArrayOf + Array32Of dataMaps;/* Array of data map records. */ public: DEFINE_SIZE_ARRAY (16, dataMaps);