[unsafe-to-break] Mark Indic-like clusters as unsafe-to-break
This commit is contained in:
parent
5287ccc935
commit
9e005c5d86
|
@ -624,6 +624,8 @@ setup_syllables (const hb_ot_shape_plan_t *plan HB_UNUSED,
|
||||||
hb_buffer_t *buffer)
|
hb_buffer_t *buffer)
|
||||||
{
|
{
|
||||||
find_syllables (buffer);
|
find_syllables (buffer);
|
||||||
|
foreach_syllable (buffer, start, end)
|
||||||
|
buffer->unsafe_to_break (start, end);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
|
|
|
@ -297,6 +297,8 @@ setup_syllables (const hb_ot_shape_plan_t *plan HB_UNUSED,
|
||||||
hb_buffer_t *buffer)
|
hb_buffer_t *buffer)
|
||||||
{
|
{
|
||||||
find_syllables (buffer);
|
find_syllables (buffer);
|
||||||
|
foreach_syllable (buffer, start, end)
|
||||||
|
buffer->unsafe_to_break (start, end);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
|
|
|
@ -354,6 +354,8 @@ setup_syllables (const hb_ot_shape_plan_t *plan,
|
||||||
hb_buffer_t *buffer)
|
hb_buffer_t *buffer)
|
||||||
{
|
{
|
||||||
find_syllables (buffer);
|
find_syllables (buffer);
|
||||||
|
foreach_syllable (buffer, start, end)
|
||||||
|
buffer->unsafe_to_break (start, end);
|
||||||
setup_rphf_mask (plan, buffer);
|
setup_rphf_mask (plan, buffer);
|
||||||
setup_topographical_masks (plan, buffer);
|
setup_topographical_masks (plan, buffer);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue