From: Behdad Esfahbod Date: Mon, 11 Feb 2013 21:16:16 +0000 (-0500) Subject: [Myanmar] Fix handling of Punctuation and Symbol types X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=419c933ed1b5d97c7561546536ef5810a7b0ebd0;p=platform%2Fupstream%2FlibHarfBuzzSharp.git [Myanmar] Fix handling of Punctuation and Symbol types Testing with "clusters" now on par with testing without them. 15 failures both. --- diff --git a/src/hb-ot-shape-complex-myanmar.cc b/src/hb-ot-shape-complex-myanmar.cc index 8988da9..e31ed03 100644 --- a/src/hb-ot-shape-complex-myanmar.cc +++ b/src/hb-ot-shape-complex-myanmar.cc @@ -232,6 +232,18 @@ set_myanmar_properties (hb_glyph_info_t &info) cat = OT_VS; switch (u) { + case 0x104A: case 0x104B: + /* Punctuation; don't care. */ + cat = OT_X; + break; + + case 0x104C: case 0x104D: case 0x104F: case 0x109E: + case 0x109F: case 0xAA70: case 0xAA77: case 0xAA78: + case 0xAA79: + /* Symbols; don't care. */ + cat = OT_X; + break; + case 0x002D: case 0x00A0: case 0x00D7: case 0x2012: case 0x2013: case 0x2014: case 0x2015: case 0x2022: case 0x25CC: case 0x25FB: case 0x25FC: case 0x25FD: