Behdad Esfahbod
9a3ad307ea
[test] Remove unused hb-diff-ngrams
7 years ago
Behdad Esfahbod
b6b460024d
[test] Remove unused manifest stuff
7 years ago
Behdad Esfahbod
ebbee7c247
[test] Move test files around
7 years ago
Behdad Esfahbod
ed2f458b14
Add test font for previous commit
7 years ago
Behdad Esfahbod
8c0d1916a4
Improve CGJ skipping logic
...
Previously we made CGJ unskippable. Now, if CGJ did NOT prevent
any reordering, allow skipping over it. To make this work we
had to make changes to the Arabic mark reordering algorithm
implementation to renumber moved MCM marks. See comments.
Fixes https://github.com/harfbuzz/harfbuzz/issues/554
7 years ago
Ebrahim Byagowi
70807ad274
Fix make check issue on out-of-tree builds and test it ( #672 )
7 years ago
Ebrahim Byagowi
4e3cf91af2
[cmake] Run rest of the tests on Windows ( #668 )
7 years ago
Ebrahim Byagowi
2dbdeb1421
[cmake] Run fuzzing and shaping tests ( #666 )
7 years ago
David Corbett
7bfdf1a941
Forbid Batak killers after vowel signs
7 years ago
ebraminio
20e69c950d
[test] print commented line, like the original script ( #649 )
7 years ago
ebraminio
5f061d27d5
Rewrite run-tests in python ( #647 )
7 years ago
Behdad Esfahbod
d9066afd6b
Add another test for previous commit
...
From https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=4273
7 years ago
Behdad Esfahbod
16fba5b215
[ot] Fix Extension type recurse to disallow recursing to another Extension
...
Particularly hazardous if the second layer mixes forward and backward lookups.
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=4336
7 years ago
David Corbett
9f259769a6
Categorize U+A8B4 as Consonant_Medial
7 years ago
Behdad Esfahbod
8d55340593
Fix fallback positioning of double diacritic marks
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=787284
7 years ago
David Corbett
87d74605f5
Categorize U+0C80 as Consonant_Placeholder
7 years ago
Behdad Esfahbod
baf7779d2d
Limit how much recursion GSUB/GPOS does
...
This only counts recursions right now. Good start.
Hopefully...
Fixes https://github.com/behdad/harfbuzz/issues/429
7 years ago
Behdad Esfahbod
b9c96b5d7c
Add test for previous commit
...
At some point we should run tests under valgrind...
7 years ago
David Corbett
87f0ad183c
Allow U+20F0 in USE clusters
7 years ago
Behdad Esfahbod
8eed9cb11e
[kern] Fix invalid memory access if offset is zero
...
If offset is zero, we return Null() object. Wasn't prepared for that.
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=4088
7 years ago
Khaled Hosny
b68fba4dc8
[test] Use glyph ids instead of forcing ft funcs
...
We were using ft funcs because these are CFF fonts, but we can avoid
glyph names instead and keep testing both ot and ft.
7 years ago
Khaled Hosny
2fcfbcf805
[test] Fix another instance of component rounding
...
See https://github.com/behdad/harfbuzz/pull/590#issuecomment-341194673
7 years ago
Behdad Esfahbod
822035ce73
[tests/arabic-stch.tests] Don't show flags
...
We don't need to test the actual flag values. For unsafe-to-break,
the --verify in run-tests.sh checks what we are interested in.
7 years ago
Behdad Esfahbod
53f0c27ddc
Minor
7 years ago
David Corbett
5a9cba9744
Mark non-initial left matras as unsafe to break
7 years ago
David Corbett
74e82adaea
Mark glyphs involved in 'stch' as unsafe to break
7 years ago
Khaled Hosny
0e63cbed9c
[test] Fix difference between ft and ot font funcs
...
See https://github.com/behdad/harfbuzz/pull/590#issuecomment-341194673 .
I simply removed the composite glyph and use the referenced simple
glyph directly.
7 years ago
Khaled Hosny
0b8f8dd869
Revert "[test] We don’t care about glyph positions here"
...
This reverts commit 70137e2b4b
.
7 years ago
Khaled Hosny
f1245013bf
[test] Run shaping tests with both ot and ft funcs
7 years ago
Khaled Hosny
70137e2b4b
[test] We don’t care about glyph positions here
...
Freetype and OT font functions give different positions for some glyphs
in this font (OT seems to be correct), but that is not what we are
interested in in this test.
See https://github.com/behdad/harfbuzz/pull/590#issuecomment-341045223 .
7 years ago
Khaled Hosny
9234b364b1
[test] Use ft functions for this test
...
https://github.com/behdad/harfbuzz/pull/590#issuecomment-340967271
7 years ago
Khaled Hosny
afbfb9279c
[test] Always use ft font funcs for these tests
...
These are CFF fonts and ot functions don’t support CFF glyph names yet.
The next commit will run all tests with ot functions.
7 years ago
David Corbett
d016c5bdb9
Categorize Grantha candrabindu for use in Tamil
7 years ago
David Corbett
729c9e1335
Include all relevant glyphs in the subsetted font
7 years ago
Khaled Hosny
9d4d2fb9af
[ot-font] Implement hb_ot_get_glyph_name
...
Turns out we already have support for “post” table, it just needed to be
activated and put in use.
7 years ago
David Corbett
fd786c768f
Use `mktemp -d` instead of `mktemp --directory`
7 years ago
David Corbett
c4944920c0
Fix and run indic-script-extensions.tests
7 years ago
David Corbett
d8df714251
Fix code point iteration in narrow Python
7 years ago
Behdad Esfahbod
81e2b9b8a9
Never skip over CGJ
...
We might want to tweak this some more. For now, never skipping over
it is better behavior than always skipping.
Part of https://github.com/behdad/harfbuzz/issues/554
7 years ago
Behdad Esfahbod
fa48ccbe12
[indic] Special-case Kannada Ra,H,ZWJ sequence
...
Fixes https://github.com/behdad/harfbuzz/issues/435
7 years ago
Behdad Esfahbod
ab8d70ec70
[arabic] Implement Unicode Arabic Mark Ordering Algorithm UTR#53
...
Fixes https://github.com/behdad/harfbuzz/issues/509
7 years ago
David Corbett
3ca9c92aa6
Test Consonant_With_Stacker in Kannada ( #530 )
7 years ago
Behdad Esfahbod
5d98de1f38
Tweak mark-base attachment
...
Apparently a base glyph can also become an attached component of a
ligature if the ligature-forming lookup used IgnoreBase. This was
being confused with a non-first component of a MultipleSubst and
hence not matched for mark-attachment. Tweak test to fix.
Fixes https://github.com/behdad/harfbuzz/issues/543
7 years ago
Behdad Esfahbod
09cbeb2246
Make bots happy
...
Fixes https://github.com/behdad/harfbuzz/issues/551
7 years ago
Behdad Esfahbod
1633513996
Add test for U+0A51
...
New Indic numbers are:
BENGALI: 353725 out of 354188 tests passed. 463 failed (0.130722%)
DEVANAGARI: 707307 out of 707394 tests passed. 87 failed (0.0122987%)
GUJARATI: 366355 out of 366457 tests passed. 102 failed (0.0278341%)
GURMUKHI: 60729 out of 60747 tests passed. 18 failed (0.0296311%)
KANNADA: 951201 out of 951913 tests passed. 712 failed (0.0747968%)
KHMER: 299071 out of 299124 tests passed. 53 failed (0.0177184%)
MALAYALAM: 1048136 out of 1048334 tests passed. 198 failed (0.0188871%)
ORIYA: 42320 out of 42329 tests passed. 9 failed (0.021262%)
SINHALA: 271662 out of 271847 tests passed. 185 failed (0.068053%)
TAMIL: 1091754 out of 1091754 tests passed. 0 failed (0%)
TELUGU: 970555 out of 970573 tests passed. 18 failed (0.00185457%)
Before 71c0a1429d
GURMUKHI used to be at 15,
because Uniscribe seems to allow this character standalone, but that looks
wrong.
7 years ago
Behdad Esfahbod
8b2c94c43f
Tweak ligature component matching for ligature formation
...
If two marks want to ligate and they belong to different components of the
same ligature glyph, and said ligature glyph is to be ignored according to
mark-filtering rules, then allow.
Example Burmese senquence:
U+1004,U+103A,U+1039,U+101B,U+103D,U+102D
Test font provided by Norbert Lindenberg.
Fixes https://github.com/behdad/harfbuzz/issues/545
7 years ago
Behdad Esfahbod
71c0a1429d
[indic] Fix shaping of U+0A51
...
Mark it as matra below to allow the sequence U+0A15, U+0A51, U+0A47.
Oh well...
Fixes https://github.com/behdad/harfbuzz/issues/524
7 years ago
Behdad Esfahbod
cc79b666bc
[indic] Add test for 1a0a356a0f
...
https://github.com/behdad/harfbuzz/issues/538
7 years ago
Behdad Esfahbod
61a9d7e6d0
Minor
7 years ago
Behdad Esfahbod
03a5a6f873
[util] Add --unicodes to hb-view / hb-shape
...
Fixes https://github.com/behdad/harfbuzz/issues/154
7 years ago