[HarfBuzz] harfbuzz: Branch 'master'

Behdad Esfahbod behdad at kemper.freedesktop.org
Thu Jan 11 16:42:35 UTC 2018


 src/hb-aat-layout-morx-table.hh |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit d887f931485b715775e922516a4b0de5bb92c34f
Author: Behdad Esfahbod <behdad at behdad.org>
Date:   Thu Jan 11 17:41:34 2018 +0100

    [aat] Make bots happy
    
    Don't know why this is not caught by my compiler.  Looks like clang catches it
    while gcc doesn't.
    
    In file included from ../src/hb-aat-layout-morx-table.hh:31:
    ../src/hb-aat-layout-common-private.hh:523:30: error: no member named 'static_size' in 'AAT::ContextualSubtable<AAT::MorxTypes>::EntryData'
      DEFINE_SIZE_STATIC (4 + T::static_size);
                                ~~~^

diff --git a/src/hb-aat-layout-morx-table.hh b/src/hb-aat-layout-morx-table.hh
index 5dec189f..f13b55ca 100644
--- a/src/hb-aat-layout-morx-table.hh
+++ b/src/hb-aat-layout-morx-table.hh
@@ -195,6 +195,8 @@ struct ContextualSubtable
 				 * marked glyph (use 0xFFFF for none). */
     HBUINT16	currentIndex;	/* Index of the substitution table for the
 				 * current glyph (use 0xFFFF for none). */
+    public:
+    DEFINE_SIZE_MIN (4);
   };
 
   inline bool apply (hb_apply_context_t *c) const


More information about the HarfBuzz mailing list