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
Behdad Esfahbod
4be46bade2
[Indic] Fix state machine to backtrack
13 years ago
Behdad Esfahbod
cee7187447
[Indic] Move syllable tracking from Indic to generic layer
...
This is to incorporate it into GSUB/GPOS processing.
13 years ago
Behdad Esfahbod
3bf27a9f0e
[Indic] Disable conjuncts when a ZWJ happens
...
Not that the code makes any difference since the presence of ZWJ itself
causes the ligature to fail to match anyway.
13 years ago
Behdad Esfahbod
c6d904d67d
[Indic] Fix bitops typo!
...
Another 1000 down!
13 years ago
Behdad Esfahbod
55fe2cf79b
Make APPLY debug output print current index and codepoint
...
Yay!
13 years ago
Behdad Esfahbod
7bd2b04fea
Minor
13 years ago
Behdad Esfahbod
cf26510dbb
Some more...
...
Done. I promise.
13 years ago
Behdad Esfahbod
9659523ca3
More beauty in debug output!
13 years ago
Behdad Esfahbod
cf26e88a5a
Finish off debug output beautification
13 years ago
Behdad Esfahbod
d7bba01a35
Only print class name in debug output if there's one available
13 years ago
Behdad Esfahbod
85f73fa8da
Only printout class name in tracing, if one is available
...
Makes debug output much more pleasant.
13 years ago
Behdad Esfahbod
98619ce4fa
Minor
13 years ago
Behdad Esfahbod
acea183e98
Add return annotation for APPLY
13 years ago
Behdad Esfahbod
5ccfe8e215
/Minor/
13 years ago