Behdad Esfahbod
e3ceb2dde3
Fix again
6 years ago
Behdad Esfahbod
1cfe702872
Fixup
6 years ago
Behdad Esfahbod
5739c876d0
[test] Rename some fonts
...
If we have duplicae font files in different directories, that would
break the oss-fuzz build currently. So, rename some to avoid
name class with text-rendering-test. Would be better to find
another solution.
6 years ago
Behdad Esfahbod
ba502dea1e
[morx] Fix cluster-merging when ligating
...
Only merge when actual ligature happened.
Fixes https://github.com/harfbuzz/harfbuzz/issues/1305
6 years ago
Behdad Esfahbod
cf92d6579e
[trak] Allow disabling tracking for ranges of text
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/1303
6 years ago
Ebrahim Byagowi
22ecefd88e
Make tracking optout possible using 'trak' ot feature
...
So '--features=-trak' or 'font-feature-settings: 'trak' 0;' can prevent
applying of tracking if used.
6 years ago
David Corbett
205737acdc
[use] Prohibit visually ambiguous vowel sequences
6 years ago
Behdad Esfahbod
48ed598a35
[VORG] Hook up to hb-ot-font's v_origin
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/544
Test added with NotoSansCJK, eg. with U+FF38.
6 years ago
Behdad Esfahbod
1bfb96a9c8
[test/text-rendering-tests] Update from upstream
6 years ago
Khaled Hosny
d4e928b142
[color] Minimal API for COLR/CPAL
6 years ago
Behdad Esfahbod
257ded1f9e
[trak] Fix test for previous fix
6 years ago
Behdad Esfahbod
c0c190c16a
[fuzzing] Run tests against fuzzing fonts
...
Some disable.
6 years ago
Behdad Esfahbod
3676c685d4
[fuzzing] Move rest of fuzzing tests here
6 years ago
Behdad Esfahbod
1487173dcf
[fuzzing] Delete duplicate fonts
6 years ago
Behdad Esfahbod
1aa353e4fc
Fix tests
6 years ago
Ebrahim Byagowi
e53206271d
Add all the fonts found by fuzzers to the repo ( #1258 )
6 years ago
Behdad Esfahbod
2137582c96
[morx] Reword ligation
...
Still fails MORX-41. Am talking to Sascha to better understand what CoreText
is doing.
6 years ago
Behdad Esfahbod
c46d42f8f2
[test/text-rendering-tests] Update from upstream
6 years ago
Behdad Esfahbod
8dc6296818
[ot-font] Implement TrueType v_origin
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/537
6 years ago
Behdad Esfahbod
bf8469be9a
Attach CursivePositioning backwards, not forward
...
This is how Uniscribe does it. So, adjust. This is only relevant
to fonts that apply cursive positioning from a contextual lookup.
Fixes https://github.com/harfbuzz/harfbuzz/issues/1181
6 years ago
Behdad Esfahbod
bdb53ca24a
[myanmar] Implement Zawgyi shaper
...
Enabled if script tag 'Qaag' is passed to HarfBuzz. Disables mark
advance-zeroing and fallback mark-positioning.
Fixes https://github.com/harfbuzz/harfbuzz/issues/1162
6 years ago
Behdad Esfahbod
788e147855
[test] Add test for USE indic3
6 years ago
Behdad Esfahbod
a11972787a
Minor
6 years ago
David Corbett
65d01f7755
Test deprecated tag fallback in a font
...
The font supports the deprecated tag 'DHV ' instead of 'DIV '. dv is
mapped to 'DIV ' and 'DHV ', in that order. The test specifies
`--language=dv`, demonstrating that if a font does not support the first
OpenType tag mapped to a BCP 47 tag, it will fall back to the next tag.
6 years ago
Behdad Esfahbod
100e95f48e
[trak] Add tests
6 years ago
Behdad Esfahbod
cc126f2817
Minor
6 years ago
Behdad Esfahbod
9c1bb81f5c
[test/text-rendering-tests] Update from upstream
6 years ago
Behdad Esfahbod
2a5cb37fdb
Revert "[morx] Fix MORX-35"
...
This reverts commit f62f6e90ad
.
6 years ago
Behdad Esfahbod
f62f6e90ad
[morx] Fix MORX-35
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/1224
6 years ago
Behdad Esfahbod
c07b91b812
[test/text-rendering-tests] Update from upstream
6 years ago
Michiharu Ariza
55942ad5c1
Merge branch 'master' into cff-subset
6 years ago
Ebrahim Byagowi
e9abe33963
Use tempfile in run-tests as a fix for Windows CI fails ( #1228 )
6 years ago
Behdad Esfahbod
5a41cf6be6
[test/text-rendering-tests] Update from upstream
6 years ago
Behdad Esfahbod
7b3ae5ffd2
More bot fixes
6 years ago
Behdad Esfahbod
0abce58139
[test] Choose 'ot' shaper specifically
...
Now that we added morx support, our OS X bot is running them through CoreText
and failing (with a DoS / infinite loop no less!). Always run tests through
our own shaper.
6 years ago
Behdad Esfahbod
55468ca01b
[test/text-rendering-tests] Update from upstream
6 years ago
Behdad Esfahbod
6ff8a8a10b
Minor
6 years ago
Behdad Esfahbod
14ff3cbe0f
Apply morx if there's no GSUB!
6 years ago
Behdad Esfahbod
81f5eb09ec
Add emoji test for recent work
6 years ago
Behdad Esfahbod
03fb6dd4c7
Rewrite grapheme-formation in terms of new work
...
Also, don't attach ZWNJ to previous cluster. Closer to Unicode graphemes.
6 years ago
Behdad Esfahbod
3f1c741b7a
[test] Split a test
6 years ago
Behdad Esfahbod
df32eaae42
[indic] Disallow vowel mark combinations that spoof other vowel marks
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/1019
New numbers:
BENGALI: 353725 out of 354188 tests passed. 463 failed (0.130722%)
DEVANAGARI: 707261 out of 707394 tests passed. 133 failed (0.0188014%)
GUJARATI: 366353 out of 366457 tests passed. 104 failed (0.0283799%)
GURMUKHI: 60729 out of 60747 tests passed. 18 failed (0.0296311%)
KANNADA: 951300 out of 951913 tests passed. 613 failed (0.0643966%)
MALAYALAM: 1048136 out of 1048334 tests passed. 198 failed (0.0188871%)
ORIYA: 42327 out of 42329 tests passed. 2 failed (0.00472489%)
SINHALA: 271596 out of 271847 tests passed. 251 failed (0.0923313%)
TAMIL: 1091754 out of 1091754 tests passed. 0 failed (0%)
TELUGU: 970555 out of 970573 tests passed. 18 failed (0.00185457%)
Devanagari regressed because Uniscribe doesn't enforce the full set.
Tests added with the *-vowel-letters.txt files in tree and Noto fonts.
6 years ago
Behdad Esfahbod
d3d0cbd278
Typo
6 years ago
Behdad Esfahbod
75114e01d2
[use] Add Halant_Or_Vowel_Modifier category
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/1102
6 years ago
Behdad Esfahbod
9f1dee32fb
[tests] Allow test-runner to ignore shaping output
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/1212
6 years ago
Behdad Esfahbod
d992982d23
[indic] Add some confusable sequences from Unicode Standard
6 years ago
Behdad Esfahbod
729f634728
Disable joiner-skipping when looking back for base to attach mark to
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/1189
6 years ago
Behdad Esfahbod
ab4c37f73a
[khmer] Add mark-ordering tests
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/667
6 years ago
Behdad Esfahbod
eb1e602877
[test] Try import unicodedata2 as unicodedata
6 years ago
Behdad Esfahbod
02bebe42c1
[test/text-rendering-tests] Update from upstream
6 years ago