diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2018-01-05 17:27:48 +0000 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2018-01-05 17:27:48 +0000 |
commit | f6df2515210e9d828fc40173696b185efa5083e3 (patch) | |
tree | 99a7e760eabca1fb7dcfdddb7c4bed940aa768fa | |
parent | e6618f3bdf79a51f6fb270b468b653dc9cea5b57 (diff) |
[indic] Remove unused OT_VD category
-rw-r--r-- | src/hb-ot-shape-complex-indic-machine.rl | 3 | ||||
-rw-r--r-- | src/hb-ot-shape-complex-indic-private.hh | 2 | ||||
-rw-r--r-- | src/hb-ot-shape-complex-indic.cc | 2 |
3 files changed, 3 insertions, 4 deletions
diff --git a/src/hb-ot-shape-complex-indic-machine.rl b/src/hb-ot-shape-complex-indic-machine.rl index 42a8847e..8e887b89 100644 --- a/src/hb-ot-shape-complex-indic-machine.rl +++ b/src/hb-ot-shape-complex-indic-machine.rl @@ -47,7 +47,6 @@ ZWNJ = 5; ZWJ = 6; M = 7; SM = 8; -VD = 9; A = 10; PLACEHOLDER = 11; DOTTEDCIRCLE = 12; @@ -67,7 +66,7 @@ cn = c.ZWJ?.n?; forced_rakar = ZWJ H ZWJ Ra; symbol = Symbol.N?; matra_group = z{0,3}.M.N?.(H | forced_rakar)?; -syllable_tail = (z?.SM.SM?.ZWNJ?)? A{0,3}? VD{0,2}; +syllable_tail = (z?.SM.SM?.ZWNJ?)? A{0,3}?; halant_group = (z?.H.(ZWJ.N?)?); final_halant_group = halant_group | H.ZWNJ; medial_group = CM?; diff --git a/src/hb-ot-shape-complex-indic-private.hh b/src/hb-ot-shape-complex-indic-private.hh index ee40eef0..a64e9d03 100644 --- a/src/hb-ot-shape-complex-indic-private.hh +++ b/src/hb-ot-shape-complex-indic-private.hh @@ -51,7 +51,7 @@ enum indic_category_t { OT_ZWJ = 6, OT_M = 7, OT_SM = 8, - OT_VD = 9, + /* OT_VD = 9, UNUSED; we use OT_A instead. */ OT_A = 10, OT_PLACEHOLDER = 11, OT_DOTTEDCIRCLE = 12, diff --git a/src/hb-ot-shape-complex-indic.cc b/src/hb-ot-shape-complex-indic.cc index 6b3d079b..9d150e0d 100644 --- a/src/hb-ot-shape-complex-indic.cc +++ b/src/hb-ot-shape-complex-indic.cc @@ -229,7 +229,7 @@ set_indic_properties (hb_glyph_info_t &info) { pos = matra_position (u, pos); } - else if ((FLAG_UNSAFE (cat) & (FLAG (OT_SM) | FLAG (OT_VD) | FLAG (OT_A) | FLAG (OT_Symbol)))) + else if ((FLAG_UNSAFE (cat) & (FLAG (OT_SM) /* | FLAG (OT_VD) */ | FLAG (OT_A) | FLAG (OT_Symbol)))) { pos = POS_SMVD; } |