HarfBuzz text shaping engine
Go to file
Behdad Esfahbod 94789fd601 [Indic] Sort pre-base reordering consonants with post-forms
Before, we were marking them as below-form for initial reordering.
However, there is a rule that says "post consonants should follow
below consonsnts" for base determination purposes.  Malayalam has
port-form YA/VA, and RA is pre-base.  As such, for a sequence like
YA,Virama,YA,Virama,RA, the correct base is at index 0.  But
because the code was seeing RA as a below-base, it was stopping at
the second YA as base, instead of jumping it as a post-base.

By treating prebase-reordering consonants like post-forms, this
is fixed.

MALAYALAM went down from 351 to 265.  Other numbers didn't change:

BENGALI: 353686 out of 354188 tests passed. 502 failed (0.141733%)
DEVANAGARI: 707305 out of 707394 tests passed. 89 failed (0.0125814%)
GUJARATI: 366262 out of 366457 tests passed. 195 failed (0.0532122%)
GURMUKHI: 60706 out of 60747 tests passed. 41 failed (0.067493%)
KANNADA: 950680 out of 951913 tests passed. 1233 failed (0.129529%)
KHMER: 299074 out of 299124 tests passed. 50 failed (0.0167155%)
LAO: 53611 out of 53644 tests passed. 33 failed (0.0615167%)
MALAYALAM: 1048069 out of 1048334 tests passed. 265 failed (0.0252782%)
ORIYA: 42320 out of 42329 tests passed. 9 failed (0.021262%)
SINHALA: 271539 out of 271847 tests passed. 308 failed (0.113299%)
TAMIL: 1091753 out of 1091754 tests passed. 1 failed (9.15957e-05%)
TELUGU: 970555 out of 970573 tests passed. 18 failed (0.00185457%)
TIBETAN: 208469 out of 208469 tests passed. 0 failed (0%)
2013-02-26 21:22:37 -05:00
contrib Minor 2012-08-12 17:11:27 -04:00
m4 Add ax_pthread.m4 2012-10-02 14:46:34 -04:00
src [Indic] Sort pre-base reordering consonants with post-forms 2013-02-26 21:22:37 -05:00
test [tests] Add Malayalam tests frim cibu 2013-02-26 21:11:05 -05:00
util Disable automatic segment properties guessing 2013-02-15 07:51:47 -05:00
AUTHORS Bump version to 0.9.2 2012-08-10 14:50:05 -04:00
Android.mk Update Android.mk 2013-02-26 15:01:45 -05:00
COPYING Improve license information 2012-10-28 21:26:19 -07:00
Makefile.am Revert "Include config.h.in in tree" 2013-02-06 23:45:27 -05:00
NEWS 0.9.13 2013-02-25 18:19:20 -05:00
README Update README, etc 2011-05-25 15:40:49 -04:00
THANKS Bump version to 0.9.2 2012-08-10 14:50:05 -04:00
TODO Remove TODO items that don't make sense 2013-02-15 09:33:10 -05:00
autogen.sh Revert "[Indic] Import ragel-generated Indic machine in git" 2013-02-06 23:43:27 -05:00
configure.ac 0.9.13 2013-02-25 18:19:20 -05:00
git.mk Update git.mk to upstream 2012-07-11 18:00:28 -04:00
harfbuzz.doap Minor 2011-05-27 04:14:42 -04:00
harfbuzz.pc.in Add build system 2009-11-02 16:34:59 -05:00

README

This is HarfBuzz, a text shaping library.

For bug reports, mailing list, and other information please visit:

  http://harfbuzz.org/

For license information, see the file COPYING.