[indic] Simplify dottedcircle
This commit is contained in:
parent
3b78318510
commit
19d50aa262
|
@ -331,6 +331,13 @@ data_destroy_indic (void *data)
|
||||||
free (data);
|
free (data);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static void
|
||||||
|
_output_with_dotted_circle (hb_buffer_t *buffer)
|
||||||
|
{
|
||||||
|
buffer->output_glyph (0x25CCu);
|
||||||
|
buffer->next_glyph ();
|
||||||
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
preprocess_text_indic (const hb_ot_shape_plan_t *plan,
|
preprocess_text_indic (const hb_ot_shape_plan_t *plan,
|
||||||
hb_buffer_t *buffer,
|
hb_buffer_t *buffer,
|
||||||
|
@ -401,7 +408,7 @@ preprocess_text_indic (const hb_ot_shape_plan_t *plan,
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
buffer->next_glyph ();
|
buffer->next_glyph ();
|
||||||
if (matched) { buffer->output_glyph (0x25CCu); buffer->next_glyph (); }
|
if (matched) _output_with_dotted_circle (buffer);
|
||||||
}
|
}
|
||||||
processed = true;
|
processed = true;
|
||||||
break;
|
break;
|
||||||
|
@ -423,7 +430,7 @@ preprocess_text_indic (const hb_ot_shape_plan_t *plan,
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
buffer->next_glyph ();
|
buffer->next_glyph ();
|
||||||
if (matched) { buffer->output_glyph (0x25CCu); buffer->next_glyph (); }
|
if (matched) _output_with_dotted_circle (buffer);
|
||||||
}
|
}
|
||||||
processed = true;
|
processed = true;
|
||||||
break;
|
break;
|
||||||
|
@ -460,7 +467,7 @@ preprocess_text_indic (const hb_ot_shape_plan_t *plan,
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
buffer->next_glyph ();
|
buffer->next_glyph ();
|
||||||
if (matched) { buffer->output_glyph (0x25CCu); buffer->next_glyph (); }
|
if (matched) _output_with_dotted_circle (buffer);
|
||||||
}
|
}
|
||||||
processed = true;
|
processed = true;
|
||||||
break;
|
break;
|
||||||
|
@ -485,7 +492,7 @@ preprocess_text_indic (const hb_ot_shape_plan_t *plan,
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
buffer->next_glyph ();
|
buffer->next_glyph ();
|
||||||
if (matched) { buffer->output_glyph (0x25CCu); buffer->next_glyph (); }
|
if (matched) _output_with_dotted_circle (buffer);
|
||||||
}
|
}
|
||||||
processed = true;
|
processed = true;
|
||||||
break;
|
break;
|
||||||
|
@ -504,7 +511,7 @@ preprocess_text_indic (const hb_ot_shape_plan_t *plan,
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
buffer->next_glyph ();
|
buffer->next_glyph ();
|
||||||
if (matched) { buffer->output_glyph (0x25CCu); buffer->next_glyph (); }
|
if (matched) _output_with_dotted_circle (buffer);
|
||||||
}
|
}
|
||||||
processed = true;
|
processed = true;
|
||||||
break;
|
break;
|
||||||
|
@ -528,7 +535,7 @@ preprocess_text_indic (const hb_ot_shape_plan_t *plan,
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
buffer->next_glyph ();
|
buffer->next_glyph ();
|
||||||
if (matched) { buffer->output_glyph (0x25CCu); buffer->next_glyph (); }
|
if (matched) _output_with_dotted_circle (buffer);
|
||||||
}
|
}
|
||||||
processed = true;
|
processed = true;
|
||||||
break;
|
break;
|
||||||
|
@ -547,7 +554,7 @@ preprocess_text_indic (const hb_ot_shape_plan_t *plan,
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
buffer->next_glyph ();
|
buffer->next_glyph ();
|
||||||
if (matched) { buffer->output_glyph (0x25CCu); buffer->next_glyph (); }
|
if (matched) _output_with_dotted_circle (buffer);
|
||||||
}
|
}
|
||||||
processed = true;
|
processed = true;
|
||||||
break;
|
break;
|
||||||
|
@ -574,7 +581,7 @@ preprocess_text_indic (const hb_ot_shape_plan_t *plan,
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
buffer->next_glyph ();
|
buffer->next_glyph ();
|
||||||
if (matched) { buffer->output_glyph (0x25CCu); buffer->next_glyph (); }
|
if (matched) _output_with_dotted_circle (buffer);
|
||||||
}
|
}
|
||||||
processed = true;
|
processed = true;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue