Behdad Esfahbod
98e2333940
[COLRv1] Remove specialized transform optimization
...
If the font has them, it's unlikely that they are identity
transforms. So, no need to try to optimize out.
2025-03-21 11:23:57 -06:00
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
cc0451c949
[cff2] Malloc-free draw of var blends
2025-03-20 20:57:31 -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
e3dc86bb0f
[ci] Don’t set exe_wrapper in the cross files
...
Complicates the build setup. Keep it commented in case one wants to
enable it locally.
2025-03-21 03:02:56 +02:00
Khaled Hosny
a189b0f772
Revert "[ci] Install wine on Windows cross-compile jobs"
...
This reverts commit ca14981262
.
2025-03-21 03:02:19 +02:00
Khaled Hosny
ca14981262
[ci] Install wine on Windows cross-compile jobs
2025-03-21 02:34:40 +02: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
Behdad Esfahbod
b2f7f6db1a
Merge pull request #5165 from harfbuzz/fontations-glyph-name
...
Fontations glyph name
2025-03-20 14:35:55 -06:00
Behdad Esfahbod
64dcece342
[fontations] Clean up atomic initialization based on review
2025-03-20 14:05:57 -06:00
Behdad Esfahbod
4107cceea1
[fontations] Roll skrifa forward
...
Tests pass now.
2025-03-20 14:00:06 -06:00
Behdad Esfahbod
c84b9dca24
Merge pull request #5170 from harfbuzz/directwrite-shape-variations
...
[directwrite] Copy font variations when shaping
2025-03-20 11:18:58 -06:00
Ozkan Sezer
e57e728532
cmake: add missing FT_Get_Transform check
2025-03-20 13:18:45 +02:00
Khaled Hosny
686503e2e0
[directwrite] Copy font variations when shaping
2025-03-20 01:59:56 +02:00
Behdad Esfahbod
24ad0dd46b
[fontations] Implement glyph_from_name (with caching)
2025-03-19 16:09:05 -06:00
Behdad Esfahbod
b3d48c2c1b
[coretext] Only try setting variations if a variable font
...
Seems to fix https://github.com/harfbuzz/harfbuzz/issues/5163
2025-03-19 15:16:11 -06:00
Behdad Esfahbod
4822cb7672
[hb-info] Report WebAssembly in technology
2025-03-19 15:14:58 -06:00
Behdad Esfahbod
60ce16f221
[CI] Fix build
2025-03-19 13:22:27 -06:00
Behdad Esfahbod
34b9100c67
[hb-info] Fix argument parsing vs default behavior
...
Default was if no args other than one font was provided, then
--show-all was enabled. This broke if eg. --face-loader=ft was
provided, then suddenly nothing was shown. Fix it to --show-all
if no "query" options are provided.
2025-03-19 13:15:44 -06:00
Behdad Esfahbod
82e0ff6da0
[fontations] Implement get_glyph_name
2025-03-19 12:52:22 -06:00
Behdad Esfahbod
1a8352cfdb
[fontations] Roll skrifa to 0.29
2025-03-19 12:51:29 -06:00
Khaled Hosny
59aee7f3e8
[directwrite] Fix copying variations in hb_directwrite_font_create()
...
I missed the endianness mismatch between HarfBuzz and DirectWrite tags.
2025-03-19 14:47:22 +02:00
Behdad Esfahbod
0349359ce6
[tests] Fix one test
2025-03-18 14:59:26 -06:00
Behdad Esfahbod
38889c3ad6
[coretext] Fix loading named instances
...
Needs tests...
TTC indices > 0 can't be loaded with CoreText API it seems.
Fixes https://github.com/harfbuzz/harfbuzz/issues/5158
2025-03-18 03:28:44 -06:00
Behdad Esfahbod
472e65dd0f
[cff] Allow empty private dict (again)
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/5162
2025-03-18 03:17:49 -06:00
Behdad Esfahbod
0ebcc66506
[coretext] Fix glyph bounds
2025-03-17 21:05:21 -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
b24a93c68e
[util] Reload face if face-loader changed
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
cdfbb7efb9
[ci] Massage cross-win building
...
Move install dir inside build dir.
2025-03-17 18:02:08 -06:00