[vowel-constraints] Reset continuation on all dottedcircles
One of the was missed before. Not intentional.
diff --git a/src/gen-vowel-constraints.py b/src/gen-vowel-constraints.py
index 19629ab..02a338f 100755
--- a/src/gen-vowel-constraints.py
+++ b/src/gen-vowel-constraints.py
@@ -104,7 +104,7 @@
s.append ('{}{{\n'.format (indent))
for i in range (len (self._c)):
s.append ('{}buffer->next_glyph ();\n'.format (self._indent (depth + 1)))
- s.append ('{}buffer->output_glyph (0x25CCu);\n'.format (self._indent (depth + 1)))
+ s.append ('{}_output_dotted_circle (buffer);\n'.format (self._indent (depth + 1)))
s.append ('{}}}\n'.format (indent))
else:
s.append ('{}switch (buffer->cur ({}).codepoint)\n'.format(indent, index or ''))
@@ -161,11 +161,16 @@
print ('#include "hb-ot-shape-complex-vowel-constraints.hh"')
print ()
print ('static void')
-print ('_output_with_dotted_circle (hb_buffer_t *buffer)')
+print ('_output_dotted_circle (hb_buffer_t *buffer)')
print ('{')
print (' hb_glyph_info_t &dottedcircle = buffer->output_glyph (0x25CCu);')
print (' _hb_glyph_info_reset_continuation (&dottedcircle);')
+print ('}')
print ()
+print ('static void')
+print ('_output_with_dotted_circle (hb_buffer_t *buffer)')
+print ('{')
+print (' _output_dotted_circle (buffer);')
print (' buffer->next_glyph ();')
print ('}')
print ()
diff --git a/src/hb-ot-shape-complex-vowel-constraints.cc b/src/hb-ot-shape-complex-vowel-constraints.cc
index e502339..aae5936 100644
--- a/src/hb-ot-shape-complex-vowel-constraints.cc
+++ b/src/hb-ot-shape-complex-vowel-constraints.cc
@@ -16,11 +16,16 @@
#include "hb-ot-shape-complex-vowel-constraints.hh"
static void
-_output_with_dotted_circle (hb_buffer_t *buffer)
+_output_dotted_circle (hb_buffer_t *buffer)
{
hb_glyph_info_t &dottedcircle = buffer->output_glyph (0x25CCu);
_hb_glyph_info_reset_continuation (&dottedcircle);
+}
+static void
+_output_with_dotted_circle (hb_buffer_t *buffer)
+{
+ _output_dotted_circle (buffer);
buffer->next_glyph ();
}
@@ -83,7 +88,7 @@
{
buffer->next_glyph ();
buffer->next_glyph ();
- buffer->output_glyph (0x25CCu);
+ _output_dotted_circle (buffer);
}
break;
}