src/hb-ot-name.h |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit 213b6dd33564d0273b1db1c17a4e82548b727dfe
Author: Behdad Esfahbod <beh...@behdad.org>
Date:   Sat Oct 27 18:36:24 2018 -0700

    [name] Make sure hb_name_id_t is int-sized
    
    
https://github.com/harfbuzz/harfbuzz/commit/d941f66c75fe26f909b1ba248535cc372bbde851#commitcomment-31068905

diff --git a/src/hb-ot-name.h b/src/hb-ot-name.h
index 35146ac0..b406c090 100644
--- a/src/hb-ot-name.h
+++ b/src/hb-ot-name.h
@@ -73,7 +73,9 @@ typedef enum
   HB_NAME_ID_DARK_BACKGROUND           = 24,
   HB_NAME_ID_VARIATIONS_PS_PREFIX      = 25,
 
-  HB_NAME_ID_INVALID                   = 0xFFFF
+  HB_NAME_ID_INVALID                   = 0xFFFF,
+
+  _HB_NAME_ID_MAX_VALUE_SIGNED         = 0x7FFFFFFF /*< skip >*/ /* So we get 
int-sized. */
 } hb_name_id_t;
 
 
_______________________________________________
HarfBuzz mailing list
HarfBuzz@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/harfbuzz

Reply via email to