From 362d3241195bb7054c395fb4b029b6d55da4612a Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Tue, 9 Oct 2018 23:27:00 -0400 Subject: [PATCH] [aat] Rename --- src/hb-aat-layout-kerx-table.hh | 4 ++-- src/hb-aat-layout-morx-table.hh | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/hb-aat-layout-kerx-table.hh b/src/hb-aat-layout-kerx-table.hh index c7cb367f6..d6747f9a8 100644 --- a/src/hb-aat-layout-kerx-table.hh +++ b/src/hb-aat-layout-kerx-table.hh @@ -242,7 +242,7 @@ struct KerxTable Vertical = 0x80000000, /* Set if table has vertical kerning values. */ CrossStream = 0x40000000, /* Set if table has cross-stream kerning values. */ Variation = 0x20000000, /* Set if table has variation kerning values. */ - ProcessDirection = 0x10000000, /* If clear, process the glyphs forwards, that + Backwards = 0x10000000, /* If clear, process the glyphs forwards, that * is, from first to last in the glyph stream. * If we, process them from last to first. * This flag only applies to state-table based @@ -319,7 +319,7 @@ struct kerx if (table->coverage & KerxTable::CrossStream) goto skip; /* We do NOT handle cross-stream kerning. */ - reverse = bool (table->coverage & KerxTable::ProcessDirection) != + reverse = bool (table->coverage & KerxTable::Backwards) != HB_DIRECTION_IS_BACKWARD (c->buffer->props.direction); if (!c->buffer->message (c->font, "start kerx subtable %d", c->lookup_index)) diff --git a/src/hb-aat-layout-morx-table.hh b/src/hb-aat-layout-morx-table.hh index 68d82dd10..0020750ce 100644 --- a/src/hb-aat-layout-morx-table.hh +++ b/src/hb-aat-layout-morx-table.hh @@ -752,7 +752,7 @@ struct ChainSubtable Vertical = 0x80000000, /* If set, this subtable will only be applied * to vertical text. If clear, this subtable * will only be applied to horizontal text. */ - Descending = 0x40000000, /* If set, this subtable will process glyphs + Backwards = 0x40000000, /* If set, this subtable will process glyphs * in descending order. If clear, it will * process the glyphs in ascending order. */ AllDirections = 0x20000000, /* If set, this subtable will be applied to @@ -876,8 +876,8 @@ struct Chain may be right-to-left or left-to-right). */ reverse = subtable->coverage & ChainSubtable::Logical ? - bool (subtable->coverage & ChainSubtable::Descending) : - bool (subtable->coverage & ChainSubtable::Descending) != + bool (subtable->coverage & ChainSubtable::Backwards) : + bool (subtable->coverage & ChainSubtable::Backwards) != HB_DIRECTION_IS_BACKWARD (c->buffer->props.direction); if (!c->buffer->message (c->font, "start chain subtable %d", c->lookup_index))