Behdad Esfahbod
134aa7bc7e
Make checks more OS X friendly
13 years ago
Behdad Esfahbod
6152199368
Fix check-header-guards on OS X
13 years ago
Behdad Esfahbod
c62e41b6aa
Minor
13 years ago
Behdad Esfahbod
1a5a91dc0d
Add a few more tests
13 years ago
Behdad Esfahbod
1795f3a222
Add a couple Thai test cases from Thep
13 years ago
Behdad Esfahbod
ec3f506682
Add Devanagari test from Tom Hacohen
13 years ago
Behdad Esfahbod
71be4ca3dd
Also ignore "ChangeLog" in manifests
13 years ago
Behdad Esfahbod
3c9a39ecd6
Remove newline
13 years ago
Behdad Esfahbod
e4ccbfe276
Allow --color=html in hb-diff
...
Not that useful right now as we don't escape < and >. Perhaps
another tool can be added to convert the ANSI output to HTML.
13 years ago
Behdad Esfahbod
71632c96da
Fallback to Latin script if the font has no other usable scripts
...
Patch and description from Jonathan Kew:
It turns out that some legacy Thai fonts provide OpenType substitution
features to implement mark positioning, but (incorrectly) put those
features/lookups under the 'latn' script tag instead of using 'thai' (or
possibly 'DFLT'). See
https://bugzilla.mozilla.org/show_bug.cgi?id=719366 for an example and
more detailed description.
Although this is really a font bug, I suggest that we could improve the
rendering of such fonts by looking for the 'latn' as a fallback if
neither the requested script nor "default" is found in
hb_ot_layout_table_choose_script. Suggested patch against harfbuzz
master is attached.
This does _not_ affect the other kind of legacy Thai font, where custom
code to support vendor-specific PUA codepoints would be needed. I'm not
keen to go down that path; IMO, such fonts should be ruthlessly stamped
out in favour of standards-based solutions. :)
JK
13 years ago
Behdad Esfahbod
8f80f93491
More shoveling around
13 years ago
Behdad Esfahbod
c78c6e9844
Cleanup
13 years ago
Behdad Esfahbod
ab94a9c542
Distribute testing tools
13 years ago
Behdad Esfahbod
3e86feb54c
Speed up colorless diff
13 years ago
Behdad Esfahbod
1e58df6034
Cleanup manifest code
13 years ago
Behdad Esfahbod
956d552e10
Port hb-manifest-update to Python
13 years ago
Behdad Esfahbod
3a34e9e351
Ignore Broken Pipe errors
13 years ago
Behdad Esfahbod
d530024168
[util] Make clusters work with char offset instead of UTF-8 offset
...
This means the --features indices also refer to char position
instead of byte position now. Same for cluster values reported
by hb-shape.
Will add an option for byte indices later.
13 years ago
Behdad Esfahbod
0f68f4a0b5
Correctly print out Unicode strings
13 years ago
Behdad Esfahbod
f22089ac24
Misc fixes
13 years ago
Behdad Esfahbod
96968bfae5
Port hb-manifest-read to Python
13 years ago
Behdad Esfahbod
a59ed46fa4
Add final residues from test-shape-complex
13 years ago
Behdad Esfahbod
820e0ed318
Add Punjabi tests from test-shape-complex also
13 years ago
Behdad Esfahbod
a7d71c1057
Add Tamil test data from Muguntharaj Subramanian
13 years ago
Behdad Esfahbod
5992a9941e
Import test data from late test-shape-complex
13 years ago
Behdad Esfahbod
46ac456477
Fix Unicode encoding issue
13 years ago
Behdad Esfahbod
ad34e39a4a
Make test tools interactive
...
By bypassing readlines() buffering.
13 years ago
Behdad Esfahbod
91540a7d97
Move most testing logic into hb_test_tools.py
...
The actual utils are one-liners now.
13 years ago
Behdad Esfahbod
66aa080033
Remove test-shape-complex
...
New shaping testsuite and framework coming.
13 years ago
Behdad Esfahbod
ed459bfb63
Add hb-unicode-encode
13 years ago
Behdad Esfahbod
d8134bc017
[hb-shape] Add parantheses around --show-text output
13 years ago
Behdad Esfahbod
b12c4d4361
Add hb-diff-filter-failures
13 years ago
Behdad Esfahbod
d4bffbc55b
Move
13 years ago
Behdad Esfahbod
45f640c98d
Minor
13 years ago
Behdad Esfahbod
47ca766a9c
Minor
13 years ago
Behdad Esfahbod
8f1db07894
[test/shaping] Add some Indic test data for the new test suite
...
Imported from UTRRS.
13 years ago
Behdad Esfahbod
11267aef36
Fix
13 years ago
Behdad Esfahbod
4e84ce48d5
Move hb-diff to test/shaping/
13 years ago
Behdad Esfahbod
f868e1b84d
Add hb-unicode-decode
13 years ago
Behdad Esfahbod
9ab23ef474
Minor
13 years ago
Behdad Esfahbod
c8d81db033
Recognize more characters
13 years ago
Behdad Esfahbod
0016d4662d
[test] Make hb-unicode-prettyname take a --stdin option
13 years ago
Behdad Esfahbod
ad8c6446f2
[test/shaping] Add hb-unicode-prettyname
13 years ago
Behdad Esfahbod
e900869b0f
[test/shaping] Add hb-read-manifest
13 years ago
Behdad Esfahbod
a211cd3ffc
Ignore AUTHORS also
13 years ago
Behdad Esfahbod
c91c4fa471
[hb-shape] Change glyphstring brackets from </> to [/]
...
Sorry for the disruption but I need this to differentiate from the
Unicode string.
13 years ago
Behdad Esfahbod
36fe87d1b4
More Indic tests from Pravin
13 years ago
Behdad Esfahbod
a33e46cf7d
[test/shaping] Add hb-update-manifests
13 years ago
Behdad Esfahbod
d4de562adf
Start adding new shaping test suite together
13 years ago
Behdad Esfahbod
7a4a848db2
Minor
13 years ago