Behdad Esfahbod
1d6846db9e
[Indic] Apply vatu feature after cjct
...
Testing with old Deva spec this reduces failures.
Test sequence: U+0915,U+094D,U+0930.
13 years ago
Behdad Esfahbod
8caf5dcd66
Minor
13 years ago
Behdad Esfahbod
617f4ac46f
Refactor
13 years ago
Behdad Esfahbod
5e4e21fce4
Revert "[Indic] Refactoring"
...
This reverts commit 0831061efb
.
13 years ago
Behdad Esfahbod
3f18236a03
Fix more warnings
13 years ago
Behdad Esfahbod
9f377ed321
Fix more unused-var warnings
13 years ago
Behdad Esfahbod
d993e72331
Fix hb_face_set_index()
13 years ago
Behdad Esfahbod
93345edcbe
Fix warnings
13 years ago
Behdad Esfahbod
eace47b173
Minor
13 years ago
Behdad Esfahbod
99c2695759
Add accessort to buffer for current info, current pos, and prev info
13 years ago
Behdad Esfahbod
6736f3c5b0
Minor
13 years ago
Behdad Esfahbod
5df809b655
[GSUB/GPOS] Remove context_length
...
The spec doesn't say contextual matching should be done this way,
and AOTS doesn't do it either. It was inherited from old HarfBuzz.
Remove it.
13 years ago
Behdad Esfahbod
28b9d502bb
Minor
13 years ago
Behdad Esfahbod
50f630c17c
Remove ioctl checks
...
Ended up not using terminal size after all.
13 years ago
Behdad Esfahbod
db0de7cd61
[util] Set ansi color only on color change
13 years ago
Behdad Esfahbod
912c5ff80a
Reduce default margin
13 years ago
Behdad Esfahbod
52e7b1424a
[util] Make hb-view print out Unicode art if stdout is a terminal
13 years ago
Behdad Esfahbod
8b2753ce2b
Minor
13 years ago
Behdad Esfahbod
30874b4819
[util] Make tools default to stdin if no text is provided
...
One less argument to type in typical testing workflow!
13 years ago
Behdad Esfahbod
2097951110
[util] Change default font size of hb-view to 256
...
Most common usecase of hb-view is to test rendering of short words for
testing / inspection. Not having to type "--font-size 150" each time
isn't such a bad idea...
13 years ago
Behdad Esfahbod
737dded2e0
Fix compiler warnings
13 years ago
Behdad Esfahbod
f538fcb538
[test] Make tool usage easier by not requiring "--stdin"
...
Just default to it. Added "--help" instead to get usage.
13 years ago
Behdad Esfahbod
a3273e30bb
[Indic] Add more Malayalam tests
13 years ago
Behdad Esfahbod
7f852b644b
Fix compiler warnings
13 years ago
Behdad Esfahbod
f7e8dcfd4f
[Indic] Unbreak Devanagari
...
And this, concludes the HarfBuzz Massala Hackfest.
I like to specially thank Jonathan Kew for doing all the decription and
letting me get commit points.
13 years ago
Behdad Esfahbod
6a091df9b4
[Indic] Disambiguate sub vs post vs above matras
...
Bengali is at *just* above 5% now.
13 years ago
Behdad Esfahbod
9d0d319a4a
[Indic] Position Bengali Reph before matras
13 years ago
Behdad Esfahbod
f893672511
[Indic] Start categorizing Reph per script
13 years ago
Behdad Esfahbod
a913b024d8
[Indic] Apply 'init' feature for Bengali
...
Error down from 20% to 7%.
13 years ago
Behdad Esfahbod
eed903b164
[Indic] Refactor for the arrival of 'init' feature
...
Yep, on Bengali now!
13 years ago
Behdad Esfahbod
18c06e189b
[Indic] Add Uniscribe bug feature for dotted circle
...
For dotted-circle independent clusters, Uniscribe does no Reph shaping
for the exact sequence Ra+Halant+25CC. Which also is the only possible
sequence with 25CC at the end.
13 years ago
Behdad Esfahbod
5b16de97bc
[Indic] Add tests for dottedcircle
13 years ago
Behdad Esfahbod
0831061efb
[Indic] Refactoring
13 years ago
Behdad Esfahbod
7ea58db311
Minor
13 years ago
Behdad Esfahbod
9c09928989
[Indic] Allow multiple Consonants in Vowel/NBSP syllables
...
Uniscribe allows multiple Halant+Consonant after a Vowel.
Tests:
↦ * U+0905,U+094D,U+092B,U+094D,930,94d,930
13 years ago
Behdad Esfahbod
8c0aa486f3
[Indic] Allow two Nuktas per consonant
...
Uniscribe allows up to two nuktas per consonant and one per matra. It does so
indepent of whether the consonant already has a nukta in it. Tests:
* U+0916,U+093C,U+0941
* U+0959,U+093C,U+0941
* U+0916,U+093C,U+093C,U+0941
* U+0959,U+093C,U+093C,U+0941
* U+0916,U+093C,U+093C,U+093C,U+0941
* U+0959,U+093C,U+093C,U+093C,U+0941
* 915,93c,93c,,94d,U+0916,U+093C,U+093C,U+093e,93c,93c
13 years ago
Behdad Esfahbod
3399a06e70
[Indic] Fix U+0952 and similar classification to match Uniscribe
...
See comments.
13 years ago
Behdad Esfahbod
11aa3ef18d
[Indic] Treat U+0951..U+0954 all similar to U+0952
13 years ago
Behdad Esfahbod
5f131d3226
[GSUB/GPOS/Indic] Apply GSUB/GPOS within syllables only
...
This does not apply to the context matchings.
This regresses tests right now. And we are not sure whether this is
the right thing to do for GPOS. But we'll figure out.
13 years ago
Behdad Esfahbod
8fd83aaf6e
[GSUB/GPOS] Fix wrong buffer access in backward skippy mask matching
13 years ago
Behdad Esfahbod
ff24d1081a
[Indic] Don't use syllable serial value 0
13 years ago
Behdad Esfahbod
892eb78782
[Indic] Implement Uniscribe Reph+Matra+Halant bug feature
13 years ago
Behdad Esfahbod
67ea29af49
[Indic] Add example of different Uniscribe behavior
13 years ago
Behdad Esfahbod
ebe29733d4
[Indic] Add runtime Uniscribe bug compatibility mode!
...
Enable by setting envvar:
HB_OT_INDIC_OPTIONS=uniscribe-bug-compatible
Plus, LeftMatra+Halant "feature".
13 years ago
Behdad Esfahbod
616e692e29
[Indic] Add #define UNISCRIBE_BUG_COMPATIBLE 1
13 years ago
Behdad Esfahbod
6782bdae3b
[Indic] Fix Left Matra + Halant reordering
...
As can be seen in: U+092B,U+093F,U+094D
13 years ago
Behdad Esfahbod
3c2ea9481b
Minor
13 years ago
Behdad Esfahbod
c071b99f15
[Indic] Add test for Left Matra with Halant
...
Uniscribe doesn't move the Halant, we do. And do a broken job of it now.
13 years ago
Behdad Esfahbod
203d71069c
[GSUB/GPOS] Check all glyph masks when matching input
13 years ago
Behdad Esfahbod
668c6046c1
[Indic] Apply Reph mask to all POS_REPH glyphs
...
Needed for upcoming changes to GSUB/GPOS mask matching.
13 years ago