[Indic] Form Telugu Reph out of Ra,Virama,ZWJ
Apparently this was approved in Feb 2012. No font yet.
This commit is contained in:
parent
2e193b240e
commit
f31d97e44e
@ -177,7 +177,7 @@ static const hb_codepoint_t ra_chars[] = {
|
||||
0x0AB0, /* Gujarati */
|
||||
0x0B30, /* Oriya */
|
||||
0x0BB0, /* Tamil */ /* No Reph */
|
||||
0x0C30, /* Telugu */ /* No Reph */
|
||||
0x0C30, /* Telugu */ /* Reph formed only with ZWJ */
|
||||
0x0CB0, /* Kannada */
|
||||
0x0D30, /* Malayalam */ /* No Reph, Logical Repha */
|
||||
|
||||
|
@ -471,8 +471,8 @@ initial_reordering_consonant_syllable (const hb_ot_map_t *map, hb_buffer_t *buff
|
||||
start + 3 <= end &&
|
||||
info[start].indic_category() == OT_Ra &&
|
||||
info[start + 1].indic_category() == OT_H &&
|
||||
(unlikely (buffer->props.script == HB_SCRIPT_SINHALA) ?
|
||||
info[start + 2].indic_category() == OT_ZWJ /* In Sinhala, form Reph only if ZWJ is present */:
|
||||
(unlikely (buffer->props.script == HB_SCRIPT_SINHALA || buffer->props.script == HB_SCRIPT_TELUGU) ?
|
||||
info[start + 2].indic_category() == OT_ZWJ /* In Sinhala & Telugu, form Reph only if ZWJ is present */:
|
||||
!is_joiner (info[start + 2] /* In other scripts, any joiner blocks Reph formation */ )
|
||||
))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user