Commit graph

18407 commits

Author SHA1 Message Date
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
24ad0dd46b [fontations] Implement glyph_from_name (with caching) 2025-03-19 16:09:05 -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
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
Khaled Hosny
ee15f723fd [ci] Remove the unused second argument to build-win.sh 2025-03-18 01:33:23 +02:00
Khaled Hosny
9298b31046 [ci] Pass the rest of arguments to meson 2025-03-18 01:26:43 +02:00
Khaled Hosny
286e832854 [ci] Use release buildtype when cross-compiling 2025-03-17 22:03:59 +02:00
Khaled Hosny
a520ee9503 [ci] Simplify cross-build script
Tell meson to strip the binaries and call meson install so they are
actually striped, and copy binaries from install dir.
2025-03-17 22:03:59 +02:00
Khaled Hosny
d65fd65608 [ci] Explicitly disabled more auto options when cross-compiling 2025-03-17 22:03:59 +02:00
Khaled Hosny
1a7b31f260 [ci] Fix meson deprecation warning
DEPRECATION: c_args in the [properties] section of the machine file is deprecated, use the [built-in options] section.
DEPRECATION: c_link_args in the [properties] section of the machine file is deprecated, use the [built-in options] section.
DEPRECATION: cpp_args in the [properties] section of the machine file is deprecated, use the [built-in options] section.
DEPRECATION: cpp_link_args in the [properties] section of the machine file is deprecated, use the [built-in options] section.
2025-03-17 22:03:59 +02:00
Khaled Hosny
7272abc35e [ci] Merge build-win32.sh and build-win64.sh 2025-03-17 22:03:59 +02:00
Khaled Hosny
6a50badb57 [ci] Disable libffi tests
They don’t build on MingW with -fno-exceptions
2025-03-17 17:41:27 +02:00
Khaled Hosny
4dc25e7066 [ci] Add libffi warp with fallback download URL
To fix failing CI runs because freedesktop.org is down.
2025-03-17 17:41:27 +02:00
Behdad Esfahbod
f9aabf7062
Merge pull request #5156 from harfbuzz/coretext-variations-always
[coretext] Always set all variation axes
2025-03-17 09:02:41 -06:00
Behdad Esfahbod
38db0f4c12 [coretext] Always set all variation axes 2025-03-17 08:51:39 -06:00
Behdad Esfahbod
6ccfadb911
Merge pull request #5153 from harfbuzz/coretext-variations
[coretext] Always set all variations
2025-03-16 21:12:14 -06:00
Behdad Esfahbod
422ffff15c [coretext] Always set all variations
Even when at default, looks like this is necessary.

Fixes https://github.com/harfbuzz/harfbuzz/issues/5142
2025-03-16 21:03:46 -06:00
Behdad Esfahbod
bd2bf3536c
Merge pull request #5152 from harfbuzz/fix-trak-finding
[trak] Fix track finding logic
2025-03-16 17:30:57 -06:00
Behdad Esfahbod
a9a3fd33a2 [trak] Fix track finding logic 2025-03-16 17:10:19 -06:00
Behdad Esfahbod
0a991cc543
Merge pull request #5151 from harfbuzz/slant-extents
[font] Move synthetic glyph extents into font layer
2025-03-16 11:46:44 -06:00
Behdad Esfahbod
14e5a046c8 [font] Move synthetic glyph extents into font layer
So it applies to all font-funcs.
2025-03-16 01:02:55 -06:00
Behdad Esfahbod
a95a500d3d
Merge pull request #5149 from harfbuzz/dwrite-fontfuncs
[directwrite] Add fontfuncs

Fixes #5143.
2025-03-15 21:27:17 -06:00
Behdad Esfahbod
8d8fe19099 [dwrite] Add font-funcs sketch
Small steps.

Fixes https://github.com/harfbuzz/harfbuzz/issues/5144
2025-03-15 21:03:30 -06:00
Behdad Esfahbod
08781f6f7d [dwrite] Set face index / glyph_count on hb-face 2025-03-15 20:05:01 -06:00
Behdad Esfahbod
93f8cbf4fa [meson] Add missing .hh files to sources
Manually checked with find and grep...
2025-03-15 19:23:52 -06:00
Behdad Esfahbod
6958064c7f
Merge pull request #5148 from harfbuzz/paint-font-transform
[paint] Add push_font_transform() / push_inverse_font_transform()
2025-03-15 18:45:00 -06:00