Sync gen-vowel-constraints.py with current output
authorDavid Corbett <corbett.dav@husky.neu.edu>
Thu, 2 May 2019 01:29:06 +0000 (21:29 -0400)
committerDavid Corbett <corbett.dav@husky.neu.edu>
Thu, 2 May 2019 01:29:06 +0000 (21:29 -0400)
src/gen-vowel-constraints.py

index afb21d9..1340d97 100755 (executable)
@@ -180,6 +180,9 @@ print ('_hb_preprocess_text_vowel_constraints (const hb_ot_shape_plan_t *plan HB
 print ('\t\t\t\t       hb_buffer_t              *buffer,')
 print ('\t\t\t\t       hb_font_t                *font HB_UNUSED)')
 print ('{')
+print ('#if defined(HB_NO_OT_SHAPE_COMPLEX_VOWEL_CONSTRAINTS)')
+print ('  return;')
+print ('#endif')
 print ('  if (buffer->flags & HB_BUFFER_FLAG_DO_NOT_INSERT_DOTTED_CIRCLE)')
 print ('    return;')
 print ()