mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-12-01 02:23:59 +01:00
[Indic] Treat U+0951..U+0954 all similar to U+0952
This commit is contained in:
1 parent
5f131d3226
commit
11aa3ef18d
1 file changed
+2
-1
@@ -203,7 +203,8 @@ _hb_ot_shape_complex_setup_masks_indic (hb_ot_map_t *map, hb_buffer_t *buffer, h
|
||||
else if (unlikely (info.codepoint == 0x200D))
|
||||
info.indic_category() = OT_ZWJ;
|
||||
|
||||
if (unlikely (info.codepoint == 0x0952)) {
|
||||
/* The spec only suggests this for U+0952, but we do more. */
|
||||
if (unlikely (hb_in_range<hb_codepoint_t> (info.codepoint, 0x0951, 0x0954))) {
|
||||
info.indic_category() = OT_A;
|
||||
info.indic_position() = POS_SMVD;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user