From c9165f5450b99e6d93e2a168b198384a221eef58 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Wed, 10 Oct 2018 20:43:21 -0400 Subject: [PATCH] [kerx] More UnsizedArrayOf<> --- src/hb-aat-layout-kerx-table.hh | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/hb-aat-layout-kerx-table.hh b/src/hb-aat-layout-kerx-table.hh index 0d3b330a3..edc17a398 100644 --- a/src/hb-aat-layout-kerx-table.hh +++ b/src/hb-aat-layout-kerx-table.hh @@ -205,8 +205,7 @@ struct KerxSubTableFormat2 TRACE_SANITIZE (this); return_trace (likely (rowWidth.sanitize (c) && leftClassTable.sanitize (c, this) && - rightClassTable.sanitize (c, this) && - array.sanitize (c, this))); + rightClassTable.sanitize (c, this))); } struct accelerator_t @@ -233,7 +232,8 @@ struct KerxSubTableFormat2 LOffsetTo > rightClassTable;/* Offset from beginning of this subtable to * right-hand class table. */ - LOffsetTo array; /* Offset from beginning of this subtable to + LOffsetTo, false> + array; /* Offset from beginning of this subtable to * the start of the kerning array. */ public: DEFINE_SIZE_STATIC (28); @@ -324,12 +324,10 @@ struct KerxSubTableFormat6 is_long () ? ( u.l.rowIndexTable.sanitize (c, this) && - u.l.columnIndexTable.sanitize (c, this) && - u.l.array.sanitize (c, this) + u.l.columnIndexTable.sanitize (c, this) ) : ( u.s.rowIndexTable.sanitize (c, this) && - u.s.columnIndexTable.sanitize (c, this) && - u.s.array.sanitize (c, this) + u.s.columnIndexTable.sanitize (c, this) ))); } @@ -359,13 +357,15 @@ struct KerxSubTableFormat6 { LOffsetTo > rowIndexTable; LOffsetTo > columnIndexTable; - LOffsetTo array; + LOffsetTo, false> + array; } l; struct Short { LOffsetTo > rowIndexTable; LOffsetTo > columnIndexTable; - LOffsetTo array; + LOffsetTo, false> + array; } s; } u; public: