diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2012-07-19 16:20:21 -0400 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2012-07-19 16:20:21 -0400 |
commit | f055442716ec7543ed156d4789955b19c11a5255 (patch) | |
tree | 673978ba3ce1c9941d6dd4a2095e3c9649c16e6f /src/hb-ot-shape-complex-indic-private.hh | |
parent | 74d1d88781e91866a52e27f391e34df03b313442 (diff) |
[Indic] Lookup consonant position in the font
Fixes most failures of Oriya, and improves others a bit.
Diffstat (limited to 'src/hb-ot-shape-complex-indic-private.hh')
-rw-r--r-- | src/hb-ot-shape-complex-indic-private.hh | 105 |
1 files changed, 0 insertions, 105 deletions
diff --git a/src/hb-ot-shape-complex-indic-private.hh b/src/hb-ot-shape-complex-indic-private.hh index e64213b8..bbf54840 100644 --- a/src/hb-ot-shape-complex-indic-private.hh +++ b/src/hb-ot-shape-complex-indic-private.hh @@ -164,111 +164,6 @@ enum indic_matra_category_t { #include "hb-ot-shape-complex-indic-table.hh" -/* XXX - * This is a hack for now. We should: - * 1. Move this data into the main Indic table, - * and/or - * 2. Probe font lookups to determine consonant positions. - */ -static const struct consonant_position_t { - hb_codepoint_t u; - indic_position_t position; -} consonant_positions[] = { - {0x0930, POS_BELOW_C}, - {0x09AC, POS_BELOW_C}, - {0x09AF, POS_POST_C}, - {0x09B0, POS_BELOW_C}, - {0x09F0, POS_BELOW_C}, - {0x0A2F, POS_POST_C}, - {0x0A30, POS_BELOW_C}, - {0x0A35, POS_BELOW_C}, - {0x0A39, POS_BELOW_C}, - {0x0AB0, POS_BELOW_C}, - {0x0B24, POS_BELOW_C}, - {0x0B28, POS_BELOW_C}, - {0x0B2C, POS_BELOW_C}, - {0x0B2D, POS_BELOW_C}, - {0x0B2E, POS_BELOW_C}, - {0x0B2F, POS_POST_C}, - {0x0B30, POS_BELOW_C}, - {0x0B32, POS_BELOW_C}, - {0x0B33, POS_BELOW_C}, - {0x0B5F, POS_POST_C}, - {0x0B71, POS_BELOW_C}, - {0x0C15, POS_BELOW_C}, - {0x0C16, POS_BELOW_C}, - {0x0C17, POS_BELOW_C}, - {0x0C18, POS_BELOW_C}, - {0x0C19, POS_BELOW_C}, - {0x0C1A, POS_BELOW_C}, - {0x0C1B, POS_BELOW_C}, - {0x0C1C, POS_BELOW_C}, - {0x0C1D, POS_BELOW_C}, - {0x0C1E, POS_BELOW_C}, - {0x0C1F, POS_BELOW_C}, - {0x0C20, POS_BELOW_C}, - {0x0C21, POS_BELOW_C}, - {0x0C22, POS_BELOW_C}, - {0x0C23, POS_BELOW_C}, - {0x0C24, POS_BELOW_C}, - {0x0C25, POS_BELOW_C}, - {0x0C26, POS_BELOW_C}, - {0x0C27, POS_BELOW_C}, - {0x0C28, POS_BELOW_C}, - {0x0C2A, POS_BELOW_C}, - {0x0C2B, POS_BELOW_C}, - {0x0C2C, POS_BELOW_C}, - {0x0C2D, POS_BELOW_C}, - {0x0C2E, POS_BELOW_C}, - {0x0C2F, POS_BELOW_C}, - {0x0C30, POS_BELOW_C}, - {0x0C32, POS_BELOW_C}, - {0x0C33, POS_BELOW_C}, - {0x0C35, POS_BELOW_C}, - {0x0C36, POS_BELOW_C}, - {0x0C37, POS_BELOW_C}, - {0x0C38, POS_BELOW_C}, - {0x0C39, POS_BELOW_C}, - {0x0C95, POS_BELOW_C}, - {0x0C96, POS_BELOW_C}, - {0x0C97, POS_BELOW_C}, - {0x0C98, POS_BELOW_C}, - {0x0C99, POS_BELOW_C}, - {0x0C9A, POS_BELOW_C}, - {0x0C9B, POS_BELOW_C}, - {0x0C9C, POS_BELOW_C}, - {0x0C9D, POS_BELOW_C}, - {0x0C9E, POS_BELOW_C}, - {0x0C9F, POS_BELOW_C}, - {0x0CA0, POS_BELOW_C}, - {0x0CA1, POS_BELOW_C}, - {0x0CA2, POS_BELOW_C}, - {0x0CA3, POS_BELOW_C}, - {0x0CA4, POS_BELOW_C}, - {0x0CA5, POS_BELOW_C}, - {0x0CA6, POS_BELOW_C}, - {0x0CA7, POS_BELOW_C}, - {0x0CA8, POS_BELOW_C}, - {0x0CAA, POS_BELOW_C}, - {0x0CAB, POS_BELOW_C}, - {0x0CAC, POS_BELOW_C}, - {0x0CAD, POS_BELOW_C}, - {0x0CAE, POS_BELOW_C}, - {0x0CAF, POS_BELOW_C}, - {0x0CB0, POS_BELOW_C}, - {0x0CB2, POS_BELOW_C}, - {0x0CB3, POS_BELOW_C}, - {0x0CB5, POS_BELOW_C}, - {0x0CB6, POS_BELOW_C}, - {0x0CB7, POS_BELOW_C}, - {0x0CB8, POS_BELOW_C}, - {0x0CB9, POS_BELOW_C}, - {0x0CDE, POS_BELOW_C}, - {0x0D2F, POS_POST_C}, - {0x0D30, POS_POST_C}, - {0x0D32, POS_BELOW_C}, - {0x0D35, POS_POST_C}, -}; /* XXX * This is a hack for now. We should move this data into the main Indic table. |