Ebrahim Byagowi
2013babcbf
[tests] Use HAVE_FREETYPE itself instead NO_FT_FUNCS
4 years ago
jfkthame
1e6027e29c
[aat] Correct array indexing when looking up actions in KerxSubTableFormat4 ( #2539 )
...
* [aat] Correct array indexing when looking up actions in KerxSubTableFormat4.
- For action_type 0 and 1, there are 2 values per action record; for action_type 2, there are 4. So we need to account for these factors when indexing into the ankrData array.
Fixes https://github.com/harfbuzz/harfbuzz/issues/2531 .
4 years ago
Ebrahim Byagowi
a07672d353
[py] minor, replace os.environ.get with os.getenv
4 years ago
Ebrahim Byagowi
cb7fb3cf4a
Add test for a783840789
4 years ago
Khaled Hosny
09dedb1b38
[tests] I’m an idiot
4 years ago
Khaled Hosny
2598855454
[tests] Add test for ReverseChainSingleSubstFormat1 missing substitute
...
https://github.com/harfbuzz/harfbuzz/issues/2467
4 years ago
Ebrahim Byagowi
b86bfe5291
minor, fix lists sorting
4 years ago
Ebrahim Byagowi
4e7cb7e2c4
minor, fix lists sorting
4 years ago
Ebrahim Byagowi
2d91662294
[meson] move tests lists to their directories
...
We had to do so for text-rendering-tests list, let's apply the same for the rest also.
4 years ago
Ebrahim Byagowi
bb719915d9
[tests/aots] move the update script to update.py
5 years ago
Ebrahim Byagowi
b318229993
[tests/test-rendering-tests] run git pull on correct dir
5 years ago
Ebrahim Byagowi
8a9a802636
minor, fix extra dist list
5 years ago
Ebrahim Byagowi
419c2d0a00
[test/text-rendering-tests] Adopt the update script with meson
5 years ago
Ebrahim Byagowi
2681656073
[test/text-rendering-tests] Update from upstream
5 years ago
Ebrahim Byagowi
ff89ba6e4d
[tests] Port text-rendering-tests update script to python
5 years ago
Ebrahim Byagowi
7554f618ec
minor, use sys.exit print shorthand
5 years ago
jfkthame
100d40c827
[aat] Fix implementation of AAT kerning for Geeza Pro. ( #2388 )
...
* [aat] Fix implementation of AAT kerning for Geeza Pro.
Despite what the comment in the code used to say, it appears that Geeza Pro
does rely on accumulating kerning values from successive subtables. With
this change, the results now match Core Text rendering (and avoid the clear
visual breakage reported in #2358 ).
Testcase: U+0644,U+064E,U+0645,U+064E,U+0651,U+0627
Fixes #2358 .
* [aat] Update test expectations, add new testcase.
5 years ago
Evgeniy Reizner
05be05eb65
[kern] Test format 3.
5 years ago
Ebrahim Byagowi
a5e5a79004
[tests] Enable the just added macOS test for older version
...
The test is added in 7035c9cd
but the same font is available in older versions of macOS
so let's run it in older versions also.
It doesn't matter much, more for consistency reasons.
5 years ago
Jonathan Kew
7035c9cdfe
Add test for #2290 .
...
This tests that we can set two separate Type=Ligature selectors at the same time,
common=off + discretionary=on.
5 years ago
Ebrahim Byagowi
4a49b36a9e
[tests/macos] Adopt added Apple Chancery tests with older macos versions
5 years ago
Jonathan Kew
548a25259e
Add a test for #2307 .
5 years ago
Jonathan Kew
120d86fa18
Add tests for #2305 .
5 years ago
Ebrahim Byagowi
89fa70f511
[aat] minor over previous feat related changes
5 years ago
Jonathan Kew
58b4d18b53
Add a couple testcases for issue 2285.
...
A few simple testcases to confirm that setting liga=0 does not break shaping with
the Tibetan AAT font Kokonor, but does still disable common ligatures in Times.
5 years ago
Ebrahim Byagowi
78eabf247e
[test] Enable OT funcs on tests that are working
5 years ago
Ebrahim Byagowi
8d19907704
Remove python2 support from tests/utils scripts
5 years ago
Ebrahim Byagowi
d809aca8d0
[test] test for not applying morx on horizontal runs if gsub exists
...
https://github.com/harfbuzz/harfbuzz/pull/2130
5 years ago
Evgeniy Reizner
b79ceac3c6
Prefer UINT_MAX instead of uint overflow.
...
Also, prefer HB_FEATURE_GLOBAL_START and HB_FEATURE_GLOBAL_END.
5 years ago
Ebrahim Byagowi
6f76c325e5
[test] Update 10.15 results
...
Turned out only SFNS, which wasn't available in 10.14 anyway, needed an update
See https://crbug.com/1005969#c37 also
5 years ago
Ebrahim Byagowi
2241a676ba
[test] Add macOS 10.15 related fonts
...
breaks the test and 10.15 bot, will add the fix in next commit, also adds a broken test for f47cbade1
5 years ago
Behdad Esfahbod
b1167d19e9
Fix!
5 years ago
Behdad Esfahbod
5ff410b493
Add files, oops
5 years ago
Behdad Esfahbod
2dc20e632e
Implement fallback vertical shaping from Firefox
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/355
5 years ago
Ebrahim Byagowi
d59d89b281
[test] Rebase 10.14 trak related test
5 years ago
Khaled Hosny
da5118da77
[ot-shape] Enable abvm/blwm features by default
...
Core Text seems to apply them to Latin text, but Uniscribe doesn’t.
See https://github.com/harfbuzz/harfbuzz/pull/1908#issuecomment-521819343
5 years ago
Khaled Hosny
2164bd6f29
[ot-shape] Enable dist feature by default ( #1908 )
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/1907
5 years ago
Khaled Hosny
c9796d15e1
Fix sbix glyph extents
...
* The ‘height’ needs to be negated since the API returns “distance from
top to bottom side”.
* Similarly, the ‘y_offset‘ needs to be added to the height to get the
‘y_bearing’, since sbix’s offset is “the point in the glyph relative
to its lower-left corner which corresponds to the origin” while
‘y_bearing’ is the “top side of glyph from origin”.
With these changes the sbix glyph metrics return values similar to other
tables, as they were otherwise unusable.
5 years ago
David Corbett
d64fb9db52
[use] Allow U+1A60 TAI THAM SIGN SAKOT after vowel
6 years ago
David Corbett
125c45ed36
Convert Consonant_Initial_Postfixed to CONS_MED
6 years ago
Behdad Esfahbod
3bed03dc6a
[indic] Add back medial-consonant to grammar
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/1592
6 years ago
Behdad Esfahbod
f8803fbace
[khmer] Add trailing Coeng to syllable grammar
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/1541
6 years ago
Ebrahim Byagowi
9b5556d985
Add a macOS 10.14.3 fonts tests ( #1608 )
6 years ago
Behdad Esfahbod
21bb80ebf2
[indic] Add back medial-consonant to grammar
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/1592
6 years ago
Behdad Esfahbod
5ab6de7a6f
[khmer] Add trailing Coeng to syllable grammar
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/1541
6 years ago
Ebrahim Byagowi
8b6eb6cf46
Add a macOS 10.14.3 fonts tests ( #1608 )
6 years ago
Behdad Esfahbod
a9321cb5f8
Fix mac test
6 years ago
Behdad Esfahbod
06358ae974
[AAT] Add test for recent Ligature stack fix, using Zapfino on Mac
6 years ago
Behdad Esfahbod
00f06d1aa6
Fix test
6 years ago
Behdad Esfahbod
9f31417733
Form cluster for Emoji sub-region tag sequences
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/1556
6 years ago