Commit Graph
20650 Commits
Author SHA1 Message Date
Khaled Hosny 1c7a1c7b04 [test-directwrite] Don’t fail if Bahnschrift can’t be loaded under Wine
It is unlikely to be present if one is not running on Windows.
2025-03-23 02:10:06 +02:00
Khaled Hosny ed558e5da4 [test] Add name table to test/api/fonts/glyphs.ttf
Some version of Wine fails to load the font otherwise.
2025-03-23 01:28:41 +02:00
Behdad Esfahbod 45a724b90c [coretext] Make font-funcs respond to font changes
Fixes https://github.com/harfbuzz/harfbuzz/issues/5173
2025-03-22 17:20:07 -06:00
Behdad Esfahbod f53befb6a0 [test/directwrite] Fix a leak 2025-03-22 16:54:56 -06:00
Behdad Esfahbod b159f5c74e [directwrite] Fix docs 2025-03-22 16:46:43 -06:00
Behdad Esfahbod 298a367ad3 [directwrite] Graduate from experimental 2025-03-22 16:42:56 -06:00
Behdad Esfahbod 24a23aca69 [directwrite] Make font-funcs respond to font changes 2025-03-22 16:41:39 -06:00
Behdad Esfahbod 91bd6bf0df [directwrite] Make variations work on font-funcs 2025-03-22 16:38:56 -06:00
Khaled Hosny 40ef946ec5 [circleci] Set LANG=en_US.UTF-8 on cross-compile jobs
Otherwise GLib fails when running the tests under Wine with:
GLib-WARNING (recursed) **: Failed to determine console output code page: Invalid access.. Falling back to UTF-8
2025-03-23 00:16:02 +02:00
Khaled Hosny b205a7fbe8 [circleci] Run tests on cross-compile jobs 2025-03-23 00:03:16 +02:00
Behdad Esfahbod c274ee7b3e [directwrite] Add hb_font_t setter/getter from IDWriteFontFace
Changed API:
+hb_directwrite_font_create()

New API:
+hb_directwrite_font_get_dw_font_face()
2025-03-22 16:02:39 -06:00
Behdad Esfahbod f0b0d92ab5 [directwrite] Deprecate hb_directwrite_font_get_dw_font() 2025-03-22 15:44:50 -06:00
Behdad Esfahbod 27c74f0569 Merge branch 'main' into HVF 2025-03-22 15:32:41 -06:00
Behdad Esfahbod 201a0fe361 [coretext] Fix a warning 2025-03-22 15:32:22 -06:00
Behdad Esfahbod 20bcd26c6c [coretext] Fix a warning 2025-03-22 15:32:05 -06:00
Behdad Esfahbod e7cd818e66 Merge branch 'main' into HVF 2025-03-22 15:31:00 -06:00
Behdad Esfahbod 6e17bd374f [README.mingw] Add a couple Ubuntu lines 2025-03-22 15:15:19 -06:00
Khaled Hosny 7153e7814b [circleci] Install wine on cross-compile jobs 2025-03-22 23:09:33 +02:00
Khaled Hosny 8db34adc37 Revert "[ci] Don’t set exe_wrapper in the cross files"
This reverts commit e3dc86bb0f.
2025-03-22 23:04:23 +02:00
Behdad Esfahbod e0aee5815a [test] Respect MESON_EXE_WRAPPER in more test runners
It's not working for me though. Meson doesn't seem to set WINEPATH
during testing.
2025-03-22 14:56:37 -06:00
Behdad Esfahbod c3bc5e4c68 Merge pull request #5189 from harfbuzz/font-changed
[font] Simplify changed mechanism
2025-03-22 14:23:07 -06:00
Behdad Esfahbod 6509414227 [fontations] Make serial tracking atomic
Would shut up tsan if we ever tried it on this.
2025-03-22 14:19:34 -06:00
Behdad Esfahbod 977e4f94e0 [font] Simplify changed mechanism 2025-03-22 14:09:26 -06:00
Behdad Esfahbod 4d94170603 Merge branch 'main' into HVF 2025-03-22 13:31:41 -06:00
Behdad Esfahbod 8ae92d0d83 [text-rendering-tests] Run against all font-funcs
One test is failing with fontations, and a few with directwrite.
2025-03-22 13:22:37 -06:00
Behdad Esfahbod 51a5618c54 [test] Update text-rendering-tests 2025-03-22 13:20:16 -06:00
Behdad Esfahbod a388989af4 [README.mingw.md] Final touches, hopefully 2025-03-22 12:31:21 -06:00
Behdad Esfahbod f7f9cd1296 [README.mingw.md] Review feedback 2025-03-22 11:42:32 -06:00
Behdad Esfahbod 2baee37d36 Merge branch 'main' into HVF 2025-03-22 01:33:59 -06:00
Behdad Esfahbod e320109e5d Merge pull request #5160 from harfbuzz/mingw-readme
[doc] Restore README.mingw.md
2025-03-22 01:30:45 -06:00
Behdad Esfahbod f9ad7c37b1 [README.mingw.md] Update 2025-03-22 01:20:57 -06:00
Behdad Esfahbod 0b139a81fe [.ci/build-win.sh] Enable tests 2025-03-22 01:05:26 -06:00
Khaled Hosny 4fd4dbb896 [doc] Restore README.mingw.md
It got deleted in cf1fdf1632 but it is
still useful. Needs to be updated to meson world, though.
2025-03-22 00:34:27 -06:00
Behdad Esfahbod 475afee0b8 Change file permission 2025-03-22 00:21:20 -06:00
Behdad Esfahbod 4162d3bf90 Merge branch 'main' into HVF 2025-03-21 20:06:05 -06:00
Behdad Esfahbod 0eeb6ccb42 [perf] Bikeshedding 2025-03-21 17:36:43 -06:00
Behdad Esfahbod cfb962d73c [fontations] Use the proposed pop_layer_with_mode
Reduces the last Vec use.

https://github.com/googlefonts/fontations/pull/1419
2025-03-21 15:03:28 -06:00
Behdad Esfahbod 9fa31d1ed2 [fontations] Enable lto in dev builds as well
Otherwise our check-symbols test will fail.
2025-03-21 14:44:03 -06:00
Behdad Esfahbod 852f66a418 [fontations] Implement fill-glyph
Gets rid of one Vec.

Supersedes:
https://github.com/harfbuzz/harfbuzz/pull/5180
https://github.com/harfbuzz/harfbuzz/pull/5184
2025-03-21 14:14:12 -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 b43cf73b3c Merge branch 'main' into HVF 2025-03-20 19:27:44 -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