Khaled Hosny
46bc4e95f9
[kbts] Update to version 2.0
2025-11-28 12:56:36 +02:00
Behdad Esfahbod
33f8ee8efc
[test] Add HarfBust tests
2025-11-10 02:55:44 -07:00
Behdad Esfahbod
b11c14227f
Match backtrack/lookahead per syllable ( #5635 )
...
* [match-backtrack] Fix syllable-setting logic
If accidentally backtrack_len() was equal idx, we were setting
syllable, even though we want to match backtrack, which shouldn't
match syllable.
I'm surprised how this was not exposed before.
Fixes https://github.com/harfbuzz/harfbuzz/issues/5597
* Always match backtrack per syllable
* Always match lookahead per syllable as well
* Add Indic test for per-syllable backtrack/lookahead matching
2025-11-04 13:49:52 -07:00
Khaled Hosny
6105bad187
Fix applying synthetic slight to glyph origins ( #5629 )
...
* Fix applying synthetic slight to glyph origins
The hb_font_t::get_glyph_[h/v]_origins() methods were applying all the
transformations to the first glyph in the buffer. This shows up for
vertical text only because h_origin callback is usually unset.
Fixes https://github.com/harfbuzz/harfbuzz/issues/5628
* Don’t apply slant to glyph origin
Per discussion in https://github.com/harfbuzz/harfbuzz/issues/5628#issuecomment-3459345504
* Disable only font functions that fail
2025-10-29 13:59:51 -06:00
Harry Dalton
780b986659
[shape] Test fallback to kern table under different shapers
...
More specifically, this asserts that the `kern` table is avoided for
certain shapers, and that we avoid double-spacing in the presence of
`dist` for the same.
2025-10-17 16:26:21 -06:00
Khaled Hosny
189358e3d0
[test] Add test for harfrust#278 ( #5610 )
...
Add test case for https://github.com/harfbuzz/harfrust/pull/278
2025-10-14 20:06:26 -06:00
David Corbett
e189b34ec9
[Unicode 17] Update the emoji table & cluster test
2025-09-10 11:19:14 -04:00
Behdad Esfahbod
2c22a65f0c
[test] Add test for would_apply with multiple subtables
...
From HarfRust issue:
https://github.com/harfbuzz/harfrust/issues/118
2025-08-08 15:14:16 -06:00
Behdad Esfahbod
4f8193ceff
[tests/vertical] Add test for previous commit
2025-07-26 13:06:45 -06:00
Khaled Hosny
16fe5422b6
[kbts] Add some tests
2025-07-23 21:39:23 +03:00
Behdad Esfahbod
d47a319b82
[rust] Roll deps forward
...
Adjust tests. See:
https://github.com/harfbuzz/harfbuzz/issues/5388
2025-07-15 12:08:00 -06:00
Behdad Esfahbod
7278f8a20e
[test/shape] Clean up meson
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/5366
2025-06-14 11:02:37 -06:00
Behdad Esfahbod
cc884606bc
[test/shape] --safe-to-insert-tatweel
...
At some point we should switch to --show-flags.
For now, tests all pass regardless of this switch.
2025-06-06 21:39:03 -06:00
Behdad Esfahbod
7908e86e35
[util/test-shape] Only output one line per test
...
If a shape call was failing, perhaps because of --verify failing,
hb-shape was producing multiple lines possibly, making the test
runner get out of sync and fail all following tests.
https://github.com/harfbuzz/harfruzz/issues/60
2025-06-06 20:19:06 -06:00
Behdad Esfahbod
604056056c
[test/shape] Move LucidaGrande test to macos.tests
2025-05-09 23:17:35 -06:00
Behdad Esfahbod
19a5d1aabd
[test/shape] Only do unsafe-to-concat check for ot shaper
...
For now, to get harfRuzz testing going better.
2025-05-07 16:57:19 -06:00
Behdad Esfahbod
2f7fbeeea2
[test/shape] Allow specifying shaper / face-loader as env-vars
2025-05-07 13:42:56 -06:00
Behdad Esfahbod
21a67df4c9
[run-tests.py] Clean up file descriptors
2025-05-06 15:42:48 -06:00
Behdad Esfahbod
e31721b5cf
[test/shape] Write cmdline as test description
2025-04-06 21:41:09 -06:00
Behdad Esfahbod
c60067c675
[test/subset] See if this fixes CI
2025-04-06 15:25:58 -06:00
Behdad Esfahbod
8456c33ac3
[test/shape] Respect @face-loaders directive
2025-04-06 14:33:44 -06:00
Behdad Esfahbod
1f1cbb64ee
Merge pull request #5260 from harfbuzz/tap
...
Use TAP protocol for tests
2025-04-06 14:30:07 -06:00
Behdad Esfahbod
03f4230188
[mac] Add tests for --face-loader
...
https://github.com/harfbuzz/harfbuzz/issues/5142
2025-04-06 13:32:28 -06:00
Behdad Esfahbod
5a46872853
Add test for https://github.com/harfbuzz/harfbuzz/issues/5232
2025-04-06 13:32:28 -06:00
Behdad Esfahbod
5efdb884a5
[run-tests] Fix remaining bot fails, fingers crossed
2025-04-06 03:21:15 -06:00
Behdad Esfahbod
8132a6607f
[shape/run-tests] Don't return non-zero
...
TAP protocol.
2025-04-06 03:12:38 -06:00
Behdad Esfahbod
a530672f04
[meson.build] Don't use str.replace() method
...
Too recent.
2025-04-06 02:34:48 -06:00
Behdad Esfahbod
b01cea95e1
[meson] Cosmetic
2025-04-06 02:34:48 -06:00
Behdad Esfahbod
ee50fad676
[run-tests] black
2025-04-06 02:34:48 -06:00
Behdad Esfahbod
69fd949014
[test/shape] Run using TAP protocol
...
Run all tests for a suite in one process. Saves runtime from
3s to 2s.
2025-04-06 02:34:48 -06:00
Behdad Esfahbod
2834900d92
[test/shape] Run each test suite in one process
2025-04-06 02:34:48 -06:00
Behdad Esfahbod
c523f9ac13
[test/shape] Use TAP
...
Checkpoint.
2025-04-06 02:34:48 -06:00
Behdad Esfahbod
91fd40ac7c
[shape] Skip hidden / ignorables during fallback mark positioning
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/5232
2025-04-01 04:03:41 -06:00
Behdad Esfahbod
4954edb2b1
[test/vertical] Add more tests
2025-03-28 19:19:57 -06:00
Behdad Esfahbod
67314b205a
[test/vertical] Enable some on fontations
2025-03-28 16:41:41 -06:00
Behdad Esfahbod
c260550ae5
[test/shape] Improve run-tests output on failure
2025-03-28 16:34:12 -06:00
Behdad Esfahbod
18ced8dbb1
[test/vertical] Add more tests
2025-03-28 16:31:46 -06:00
Behdad Esfahbod
cb44134cbf
[test/vertical] Test more font-funcs
2025-03-28 15:56:13 -06:00
Behdad Esfahbod
7ba0368200
[test] Enable aat-trak on all font funcs now
2025-03-27 17:14:22 -06:00
Behdad Esfahbod
e16a985798
[test/shape/aots] Add directive to run with ot shaper only
2025-03-25 15:17:23 -06:00
Behdad Esfahbod
851d3e33b5
[aots] Fix compile error
...
Also requires https://github.com/adobe-type-tools/aots/pull/5 to
be merged. Or if that repo is inactive, we can switch to my fork.
2025-03-25 15:06:24 -06:00
Behdad Esfahbod
eec9108416
[test/shape] Adjust uniscribe test
2025-03-25 13:56:12 -06:00
Khaled Hosny
614013940d
[test/shape] Update comment
2025-03-25 19:24:00 +02:00
Khaled Hosny
190ad35f71
[test/shape] Don’t skip test if hb-shape --list-* fails
...
This can happen with Wine when, e.g., `WINEPATH` is not set, and we
would silently skip the tests because lists of supported shapers etc.
are empty.
2025-03-25 16:34:19 +02:00
Khaled Hosny
6cf308c857
[test/shape] Remove @font-funcs-=directwrite from directwrite test
...
The directwrite font functions support variations now, so this is no
longer needed.
2025-03-25 10:34:43 +02:00
Khaled Hosny
1402ecfecf
[test/shape] Use @shapers directive in uniscribe test
2025-03-25 10:33:38 +02:00
Behdad Esfahbod
46a30fe390
[test/shape] Respect @shapers directive
2025-03-24 18:23:34 -06:00
Behdad Esfahbod
4cc66435f9
Merge pull request #5188 from harfbuzz/text-rendering-tests-fontations
...
Text rendering tests fontations
2025-03-23 12:06:54 -06:00
Behdad Esfahbod
74c82b3a29
Blacken
2025-03-23 11:52:45 -06:00
Behdad Esfahbod
f0e260ad73
[text-rendering-tests] Run against ot,ft only
...
See https://github.com/harfbuzz/harfbuzz/pull/5188
2025-03-23 11:51:58 -06:00