[HarfBuzz] harfbuzz: Branch 'master'
Behdad Esfahbod
behdad at kemper.freedesktop.org
Fri Jan 12 08:46:29 UTC 2018
src/hb-aat-layout-common-private.hh | 2 +-
src/hb-aat-layout-morx-table.hh | 18 +++++++++---------
2 files changed, 10 insertions(+), 10 deletions(-)
New commits:
commit dd38db523a1001178bf4cae3721c098466534736
Author: Behdad Esfahbod <behdad at behdad.org>
Date: Fri Jan 12 09:45:42 2018 +0100
[aat] Fix more builds
Maybe I should disable C++11 detection such that my compiler also catches
these. Doesn't look like we can switch to it for a while anyway...
diff --git a/src/hb-aat-layout-common-private.hh b/src/hb-aat-layout-common-private.hh
index 04007db3..4ed2d3a1 100644
--- a/src/hb-aat-layout-common-private.hh
+++ b/src/hb-aat-layout-common-private.hh
@@ -637,7 +637,7 @@ struct StateTableDriver
c->transition (this, entry);
- if (entry->flags & context_t::Flags::DontAdvance)
+ if (entry->flags & context_t::DontAdvance)
buffer->idx--; /* TODO Detect infinite loop. */
state = entry->newState;
diff --git a/src/hb-aat-layout-morx-table.hh b/src/hb-aat-layout-morx-table.hh
index f4f03ab8..080f90ee 100644
--- a/src/hb-aat-layout-morx-table.hh
+++ b/src/hb-aat-layout-morx-table.hh
@@ -43,16 +43,16 @@ struct RearrangementSubtable
struct driver_context_t
{
enum Flags {
- MarkFirst = 0x8000, /* If set, make the current glyph the first
- * glyph to be rearranged. */
+ MarkFirst = 0x8000, /* If set, make the current glyph the first
+ * glyph to be rearranged. */
DontAdvance = 0x4000, /* If set, don't advance to the next glyph
- * before going to the new state. This means
- * that the glyph index doesn't change, even
- * if the glyph at that index has changed. */
- MarkLast = 0x2000, /* If set, make the current glyph the last
- * glyph to be rearranged. */
- Reserved = 0x1FF0, /* These bits are reserved and should be set to 0. */
- Verb = 0x000F, /* The type of rearrangement specified. */
+ * before going to the new state. This means
+ * that the glyph index doesn't change, even
+ * if the glyph at that index has changed. */
+ MarkLast = 0x2000, /* If set, make the current glyph the last
+ * glyph to be rearranged. */
+ Reserved = 0x1FF0, /* These bits are reserved and should be set to 0. */
+ Verb = 0x000F, /* The type of rearrangement specified. */
};
inline driver_context_t (const RearrangementSubtable *table) :
More information about the HarfBuzz
mailing list