Behdad Esfahbod
c867bc976a
[test] Minor, adjust usage
2025-03-21 00:59:35 -06:00
Behdad Esfahbod
a551736532
[test] Add hb-paint-all
2025-03-20 23:23:58 -06:00
Behdad Esfahbod
6a82561f00
[hb-draw-all] Error handling
2025-03-20 23:21:28 -06:00
Behdad Esfahbod
e2a24ce13a
Merge pull request #5177 from harfbuzz/exe_wrapper
...
[test] Allow running test suite under wine
2025-03-20 19:14:58 -06:00
Behdad Esfahbod
be90974de8
[test/draw] Add meson.build
2025-03-20 19:12:29 -06:00
Behdad Esfahbod
1d25de8316
[test] Add draw/hb-draw-all
2025-03-20 19:11:26 -06:00
Khaled Hosny
12e31ab7e8
[test] Allow running test suite under wine
...
Set exe_wrapper in the Windows cross files, which will cause unit tests
to be run with wine.
When we call the binary ourselves, e.g. in shape run-tests.py, we need
to check for MESON_EXE_WRAPPER env var (which meson sets automatically
if exe_wrapper is set) and use it.
2025-03-21 02:27:45 +02:00
Khaled Hosny
14c07dcfa7
[test] Make context-matching test pass with coretext font functions
...
Remove the CBDT/CBLC tables not needed for the test and a glyf/loca
tables with blank glyphs to make Core Text load the font.
2025-03-20 18:05:30 -06:00
Khaled Hosny
686503e2e0
[directwrite] Copy font variations when shaping
2025-03-20 01:59:56 +02:00
Behdad Esfahbod
0349359ce6
[tests] Fix one test
2025-03-18 14:59:26 -06:00
Behdad Esfahbod
696b4a26a8
[coretext] Blocklist one more shape test
2025-03-17 21:05:21 -06:00
Behdad Esfahbod
ad9c473759
[test/shape] Make output less verbose
2025-03-17 21:05:21 -06:00
Behdad Esfahbod
630bc9b45d
[coretext] Disable variation-selectors test :-(
2025-03-17 21:05:21 -06:00
Behdad Esfahbod
719dafdaad
[test/shape] Allow comments in directives
...
Also adjust tests for directwrite font-funcs.
2025-03-17 21:05:21 -06:00
Behdad Esfahbod
27bb37c5d0
[test/shape] Fix reporting
2025-03-17 21:05:21 -06:00
Behdad Esfahbod
9a0802dbe5
[test/shape] Comments
2025-03-17 21:05:21 -06:00
Behdad Esfahbod
ee34711d64
[test/shape] Allow directives to instruct what backends to test
2025-03-17 21:05:21 -06:00
Behdad Esfahbod
220a8b9496
[test/shape] Massage script some more
2025-03-17 21:05:21 -06:00
Behdad Esfahbod
7c248cccb5
[test/shape] Var rename
2025-03-17 21:05:21 -06:00
Behdad Esfahbod
3e137c8e8a
[test/shape] Minor massage the runner
2025-03-17 21:05:21 -06:00
Behdad Esfahbod
cf1772a492
[test/shape] Compare results without glyph names if needed
...
Enable fontations font-funcs, which mostly passes now.
2025-03-17 21:05:21 -06:00
Behdad Esfahbod
a37fb2fbf7
[test/shape] Rename a couple of variables
2025-03-17 21:05:21 -06:00
Behdad Esfahbod
24f9fd46ce
[test/shape] Restart hb-shape --batch process if killed
2025-03-17 21:05:21 -06:00
Behdad Esfahbod
5b3bf25bb8
[test/shape] Test all font-funcs backends if none specified
...
Disable fontations as it doesn't implement glyph names currently.
2025-03-17 21:05:21 -06:00
Behdad Esfahbod
f16196a00e
[test-shape] Assume ot shaper is default
2025-03-17 21:05:21 -06:00
Behdad Esfahbod
0d5795c0a5
[test/shape] Report shaper, face-loader, font-funcs
2025-03-17 21:05:21 -06:00
Behdad Esfahbod
aacc667e51
[test/shape/run-tests] Streamline testing other backends
2025-03-17 21:05:21 -06:00
Behdad Esfahbod
379688c566
[test-face] Relax on face load failure
2025-03-13 14:47:34 -06:00
Behdad Esfahbod
469502c99b
[test-paint] Test fontations too
...
Luckily it passes!
2025-03-12 11:02:43 -06:00
Behdad Esfahbod
d014efd03d
Merge pull request #5131 from harfbuzz/using2
...
Add hb_ft_face_create_from_blob_or_fail() et al
2025-03-11 13:37:48 -06:00
Behdad Esfahbod
759e1881e8
[coretext] Fix loading TTC files
2025-03-11 12:46:27 -06:00
Behdad Esfahbod
15fcfcb606
Merge pull request #5129 from harfbuzz/buffer-deserialize
...
Fix buffer deserialize
2025-03-11 12:01:20 -06:00
Behdad Esfahbod
5e6da54166
[test] Minor, accept absolute font paths
2025-03-11 12:00:18 -06:00
Behdad Esfahbod
8687f5c38e
[face] Add tests for new constructors
2025-03-11 11:56:00 -06:00
Behdad Esfahbod
756668d35c
[directwrite] Drop dependency again as per review
...
https://github.com/harfbuzz/harfbuzz/pull/5132#issuecomment-2714186460
2025-03-11 11:27:02 -06:00
Behdad Esfahbod
6b2f859232
[test-c] Disable gobject include
...
It can't find its dependent headers since not installed.
2025-03-11 00:37:11 -06:00
Behdad Esfahbod
8ca892b0e2
[directwrite] Simplify headers
2025-03-11 00:24:11 -06:00
Behdad Esfahbod
d247c116fb
[test-draw] Test all font funcs
2025-03-11 00:15:40 -06:00
Behdad Esfahbod
d2ccf595bd
Directwrite is a C++ header?
2025-03-11 00:15:19 -06:00
Behdad Esfahbod
41dcc493e5
[test-cplusplus] Simplify
2025-03-10 23:49:05 -06:00
Behdad Esfahbod
dbad6cdfec
[test-c(plusplus)] Add more headers
2025-03-10 23:23:16 -06:00
Behdad Esfahbod
3c02fcd0e8
[test-multithread] Simplify
2025-03-10 23:16:30 -06:00
Behdad Esfahbod
7a912c4746
[buffer-deserialize] Fix return value and parsing
...
I think I got it right.
Alternative to https://github.com/harfbuzz/harfbuzz/pull/5028
2025-03-10 16:20:16 -06:00
Behdad Esfahbod
d8a774c011
[test] Add test for new grapheme cluster level
2025-03-10 01:04:35 -06:00
Behdad Esfahbod
712a403bec
[font-funcs-using] Apply review feedback
2025-03-08 12:23:41 -07:00
Behdad Esfahbod
c3eac5c0f3
[test-threads] Test all font-funcs
...
Fontations & Coretext are new and seems to pass.
2025-03-08 11:57:31 -07:00
Behdad Esfahbod
2a878b1b76
[font-funcs] Add two new API
...
+ hb_font_set_funcs_using()
+ hb_font_list_funcs()
Part of https://github.com/harfbuzz/harfbuzz/issues/5117
2025-03-08 11:50:53 -07:00
Matthias Clasen
41e14f7029
[test-paint] Use latest test fonts
...
Update the color test fonts from https://github.com/googlefonts/color-fonts/
repository and update the test results.
2025-03-07 10:48:46 -07:00
Khaled Hosny
a356603061
[directwrite/test] Add test that actually works
...
Apparently DirectWrite does not allow disabling calt in Arabic, so test
liga in Latin and ss01 in Arabic.
2025-03-07 14:30:53 +02:00
Khaled Hosny
9abaf193d3
[directwrite] Fix applying features to directwrite shaper
...
The range_features was ending up with random data because
hb_ms_make_feature_ranges() keeps pointers to data allocated in
feature_records and range_records, but that data was getting freed
before range_features was used. Change the variable scope to avoid
freeing the data too early.
Fixes https://github.com/harfbuzz/harfbuzz/issues/5113
2025-03-07 14:30:53 +02:00