summaryrefslogtreecommitdiff
path: root/src/hb-ot-shape-complex-indic-private.hh
AgeCommit message (Collapse)AuthorFilesLines
2018-08-25Rename hb-*private.hh to hb-*.hhBehdad Esfahbod1-403/+0
Sorry for the noise, downstream custom builders. Please adjust.
2018-07-31[khmer] Rewrite most of shaper to better follow specBehdad Esfahbod1-1/+3
Khmer spec has only one reordering phase, and only simple prebase matra and Coeng-Ro reordering. Implement that. Specifically, this was done to address recognizing different orders of the matra and Coeng-Ro sequence. That said, some combinations are now reordered differently from Uniscribe. Not clear if that's intended or a bug in Uniscribe. The following two sequences render the same in Uniscribe whereas we reorder them differently: U+17A0,U+17D2,U+179A,U+17C2 U+17A0,U+17C2,U+17D2,U+179A For that reason, our test suite numbers regressed slightly. Used to be at 34 for fails, now at: KHMER: 299080 out of 299124 tests passed. 44 failed (0.0147096%) But generally a good change, and removed lots of code. Fixes https://github.com/harfbuzz/harfbuzz/issues/1026
2018-04-12Update the links and revive the dead onesEbrahim Byagowi1-1/+1
2018-02-13[myanmar] Add dump-myanmar-dataBehdad Esfahbod1-3/+5
2018-02-13[indic] Explicitly number indic_position_tBehdad Esfahbod1-16/+16
So it's easier to cross-reference from output of print-indic-table.
2018-02-13[indic] Share some copy/pasta codeBehdad Esfahbod1-2/+27
2018-02-13[indic] Add print-indic-tableBehdad Esfahbod1-0/+185
2018-01-05[indic] Remove unused OT_VD categoryBehdad Esfahbod1-1/+1
2018-01-05[khmer] Remove Halant from Khmer shaperBehdad Esfahbod1-1/+0
2017-11-20Move all references of old url to the new address (#622)ebraminio1-1/+1
2017-10-03[indic] Fix shaping of U+0AFB GUJARATI SIGN SHADDABehdad Esfahbod1-1/+1
Fixes https://github.com/behdad/harfbuzz/issues/552
2017-10-03[indic] Implement Consonent_With_StackerBehdad Esfahbod1-3/+4
Fixes https://github.com/behdad/harfbuzz/issues/528
2017-09-01[indic] Treat Consonant_With_Stacker as consonantBehdad Esfahbod1-1/+1
Fixes https://github.com/behdad/harfbuzz/issues/528 "Kannada JIHVAMULIYA and UPADHMANIYA insert dotted circles"
2017-07-14[indic] Fix https://github.com/behdad/harfbuzz/issues/478Behdad Esfahbod1-1/+1
2016-05-06[indic] Remove unused Javanese bitsBehdad Esfahbod1-3/+2
2015-12-18[indic] Update data tables to Unicode 8.0Behdad Esfahbod1-15/+25
Test stats remain unchanged, except for Malayalam, which we investigate: BENGALI: 353725 out of 354188 tests passed. 463 failed (0.130722%) DEVANAGARI: 707307 out of 707394 tests passed. 87 failed (0.0122987%) GUJARATI: 366349 out of 366457 tests passed. 108 failed (0.0294714%) GURMUKHI: 60732 out of 60747 tests passed. 15 failed (0.0246926%) KANNADA: 951190 out of 951913 tests passed. 723 failed (0.0759523%) KHMER: 299070 out of 299124 tests passed. 54 failed (0.0180527%) MALAYALAM: 1047584 out of 1048334 tests passed. 750 failed (0.0715421%) ORIYA: 42320 out of 42329 tests passed. 9 failed (0.021262%) SINHALA: 271662 out of 271847 tests passed. 185 failed (0.068053%) TAMIL: 1091753 out of 1091754 tests passed. 1 failed (9.15957e-05%) TELUGU: 970555 out of 970573 tests passed. 18 failed (0.00185457%) Myanmar, compared to Windows 10 mmrtext.ttf: MYANMAR: 1123865 out of 1123883 tests passed. 18 failed (0.00160159%)
2015-07-21Remove unused macro ASSERT_STATIC_EXPR()Behdad Esfahbod1-2/+0
2014-06-30[indic-table] Update to Unicode 7.0 dataBehdad Esfahbod1-3/+20
Touch code just enough to preserve previous syllable structure and functionality as closely as possible. Many further cleanups coming later.
2014-06-30WhitespaceBehdad Esfahbod1-38/+38
2014-05-27[indic/myanmar] Rename OT_NBSP to OT_PLACEHOLDERBehdad Esfahbod1-3/+3
2014-05-27[indic/myanmar] Refactor a few macrosBehdad Esfahbod1-0/+12
2014-05-23[indic] Rename avagraha cluster to symbol clusterBehdad Esfahbod1-2/+2
In anticipation of adding more characters to that class of clusters.
2013-10-23Fix "shift count >= width of type" issueBehdad Esfahbod1-1/+1
2013-10-18[indic] Add Javanese support!Behdad Esfahbod1-18/+19
Seems to be working just fine!
2013-10-16[indic] Misc harmless fixes!Behdad Esfahbod1-1/+1
First, we were abusing OT_VD instead of OT_A. Fix that but moving OT_A in the grammar where it belongs (which is different from what the spec says). Also, only allow medial consonants after all other consonants. This doesn't affect any current character. Finally, fix Halant attachment in presence of medial consonants. Again, this currently doesn't affect any sequence. I lied. There's Gurmukhi U+0A75 which is Consonant_Medial. Uniscribe allows one of those in each of these positions: before matras, after matras and before syllable modifiers, and after syllable modifiers! We currently just allow unlimited numbers of it, before matras.
2013-10-15[indic] Handle AvagrahaBehdad Esfahbod1-2/+3
It can come either at the end(ish!) of the syllable, or independently. When independent, it accepts a few bits and pieces.
2013-02-12[SEA] Treat Consonant_Final like Consonant_MedialBehdad Esfahbod1-1/+1
2013-02-12Add South-East Asian shaperBehdad Esfahbod1-239/+2
Handles Tai Tham, Cham, and New Tai Lue for now.
2012-11-14[Indic] Handle overstruck matra positionBehdad Esfahbod1-3/+3
2012-11-12[Indic] Allow Consonant_Medial's after Consonant'sBehdad Esfahbod1-3/+4
Mostly affects Myanmar, but also Tai Tham, Javanese, and Cham. The latter three are untested (no fonts!).
2012-11-12[Indic] Categorize Myanmar "tone marks" as nuktasBehdad Esfahbod1-1/+1
2012-11-12[Indic] Make more room in the tableBehdad Esfahbod1-5/+5
To be used in upcoming commits.
2012-08-31[Indic] Implement dotted-circle insertion for broken clustersBehdad Esfahbod1-1/+1
No panic, we reeally insert dotted circle when it's absolutely broken. Fixes most of the dotted-circle cases against Uniscribe. (for Devanagari fixes 80% of them, for Khmer 70%; the rest look like Uniscribe being really bogus...) I had to make a decision. Apparently Uniscribe adds one dotted circle to each broken character. I tried that, but that goes wrong easily with split matras. So I made it add only one dotted circle to an entire broken syllable tail. As in: "if there was a dotted circle here, this would have formed a correct cluster." That works better for split stuff, and I like it more.
2012-08-09Shuffle buffer variable allocations aroundBehdad Esfahbod1-2/+2
To room for more allocations, coming.
2012-08-02[Indic] Add per-script configuration tablesBehdad Esfahbod1-8/+8
This concludes the Indic shape_plan work. May do for Arabic also...
2012-08-02[Indic] RefactorBehdad Esfahbod1-0/+210
Move all the logic that needs to eventually move into the indic table into hb-ot-shape-complex-indic-private.hh.
2012-08-02[Indic] MinorBehdad Esfahbod1-16/+0
2012-07-23[Indic] Change "unknown" position to end of syllableBehdad Esfahbod1-1/+1
2012-07-20[Indic] Don't attach SM/VD to other charactersBehdad Esfahbod1-0/+3
2012-07-20[Indic] Form Telugu Reph out of Ra,Virama,ZWJBehdad Esfahbod1-1/+1
Apparently this was approved in Feb 2012. No font yet.
2012-07-19[Indic] Lookup consonant position in the fontBehdad Esfahbod1-105/+0
Fixes most failures of Oriya, and improves others a bit.
2012-07-19[Indic] Implement per-script matra positioningBehdad Esfahbod1-1/+1
Following what the spec says. Brings down Telugu failures from 40% to 3.75%, and Kannada failures from 44% to 10%. Does NOT affect other scripts' test results.
2012-07-19[Indic] More refactoringBehdad Esfahbod1-5/+4
2012-07-19[Indic] MinorBehdad Esfahbod1-16/+26
2012-07-19[Indic] Start refactoring different matra positions per scriptBehdad Esfahbod1-14/+22
2012-07-18[Indic] Implement Sinhala "Al Lakuna" Reph behaviorBehdad Esfahbod1-0/+2
In Sinhala, Reph is formed only explicitly, by the presence of a ZWJ.
2012-07-18[Indic] MinorBehdad Esfahbod1-2/+2
2012-07-17[Indic] Position Khmer RobatBehdad Esfahbod1-3/+4
It's a visual Repha. Still not positioning logical Repha as occurs in Malayalam. Another 200 Khmer failures fixed. 547 to go. That's better than Devanagari!
2012-07-17[Indic] Better categorize Register Shifters and Khmer Various signsBehdad Esfahbod1-1/+1
Down another 500 or so Khmer failures!
2012-07-17[Indic] Position final subjoined consonants (and vowels) after matrasBehdad Esfahbod1-0/+1
In Khmer, a final subjoined consonant or independent vowel can occur after matras. This final subjoined thing should NOT be reordered to before the matra even though it's subjoined. Fixes another 1k of the Khmer failures. Not much left really.