Commit graph

18492 commits

Author SHA1 Message Date
Christoph Reiter
65d04d8795 [ci/msys2] Remove winjitdebug workaround
This was added in #3903 to workaround a Python crasher. The issue
has been fixed for a while now, so remove the workaround.
2025-03-24 20:00:43 +01:00
Christoph Reiter
5c3f23c09c [ci/msys2] Add a job building in the clang/llvm environment
Clang is more strict in certain areas and will fail, like
https://github.com/harfbuzz/harfbuzz/pull/5079#issuecomment-2673805310
https://github.com/harfbuzz/harfbuzz/issues/5197

* Add CLANG64 to the matrix
* Install the virtual "cc" package which pulls in the default compiler
  for the respective environment
* Remove gcc-libs, it should be pulled in automatically
* Depend on MSYSTEM_PREFIX for deleting files to be environment agnostic
2025-03-24 20:53:59 +02:00
Behdad Esfahbod
b114518310 [directwrite] Link to library
Some checks failed
arm / arm-none-eabi (push) Waiting to run
configs-ci / build (push) Waiting to run
fontations / build (push) Waiting to run
linux-ci / build (push) Waiting to run
macos-ci / build (push) Waiting to run
msvc / msvc-2019-amd64 (push) Waiting to run
msvc / msvc-2019-x86 (push) Waiting to run
msys2 / MINGW32 (push) Waiting to run
msys2 / MINGW64 (push) Waiting to run
Scorecard supply-chain security / Scorecard analysis (push) Failing after 0s
Instead of loading at runtime. I just want to see how CI deals with
this. Otherwise, not depending on dwrite is probably desired.
2025-03-24 15:31:36 +02:00
dependabot[bot]
eda33efc88 Bump ninja from 1.11.1.3 to 1.11.1.4 in /.ci
Bumps [ninja](https://github.com/scikit-build/ninja-python-distributions) from 1.11.1.3 to 1.11.1.4.
- [Release notes](https://github.com/scikit-build/ninja-python-distributions/releases)
- [Changelog](https://github.com/scikit-build/ninja-python-distributions/blob/master/HISTORY.rst)
- [Commits](https://github.com/scikit-build/ninja-python-distributions/compare/1.11.1.3...1.11.1.4)

---
updated-dependencies:
- dependency-name: ninja
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-24 15:18:36 +02:00
Khaled Hosny
c141541159 [circleci] Add timeout multiplier when running tests under wine
We are getting occasional timeout.
2025-03-24 15:17:51 +02:00
dependabot[bot]
2fd2f8e711 Bump setuptools from 76.0.0 to 77.0.3 in /.ci
Bumps [setuptools](https://github.com/pypa/setuptools) from 76.0.0 to 77.0.3.
- [Release notes](https://github.com/pypa/setuptools/releases)
- [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst)
- [Commits](https://github.com/pypa/setuptools/compare/v76.0.0...v77.0.3)

---
updated-dependencies:
- dependency-name: setuptools
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-24 15:14:49 +02:00
dependabot[bot]
b690de572c Bump github/codeql-action from 3.28.11 to 3.28.12
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.28.11 to 3.28.12.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](6bb031afdd...5f8171a638)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-24 15:14:25 +02:00
dependabot[bot]
9c63dcb3fe Bump actions/upload-artifact from 4.6.1 to 4.6.2
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.6.1 to 4.6.2.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](4cec3d8aa0...ea165f8d65)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-24 15:14:07 +02:00
Behdad Esfahbod
ba709a385e [dwrite] Fix cast-align error-warning
Fixes https://github.com/harfbuzz/harfbuzz/issues/5197
2025-03-24 02:08:04 -06:00
Behdad Esfahbod
0849d3d8b6 [fontations] Minor shuffle 2025-03-24 02:08:04 -06:00
Behdad Esfahbod
8e1502cce8 [fontations] Implement glyph_v_origin 2025-03-24 02:08:04 -06:00
Khaled Hosny
2ed9c2826a [circleci] Fix YAML lint error [ci skip] 2025-03-24 01:24:39 +02:00
Khaled Hosny
48ce9c397e [ci] Try to fix uploading Windows binaries [ci skip]
We will find out if it works when cutting the next release.
2025-03-24 01:05:24 +02:00
Khaled Hosny
ea6a172f84 11.0.0 2025-03-24 00:33:53 +02:00
Behdad Esfahbod
7599d097c9 [README.mingw] Adjust
Installing system HarfBuzz makes it override our own build.
2025-03-23 15:12:02 -06:00
Behdad Esfahbod
7612ec44dc [util] Show glyph extents only if available 2025-03-23 13:11:23 -06:00
Behdad Esfahbod
391cbed883 [fontations] Support non-uniform scales 2025-03-23 12:58: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
Behdad Esfahbod
af6b6b4828 [README] More 2025-03-23 09:54:49 -06:00
Behdad Esfahbod
4f12035e5d [README.mingw] Update as per recent changes 2025-03-23 09:52:00 -06:00
Behdad Esfahbod
e4b633deb8
Merge pull request #5194 from harfbuzz/test-directwite-variations
Some checks failed
arm / arm-none-eabi (push) Waiting to run
configs-ci / build (push) Waiting to run
fontations / build (push) Waiting to run
linux-ci / build (push) Waiting to run
macos-ci / build (push) Waiting to run
msvc / msvc-2019-amd64 (push) Waiting to run
msvc / msvc-2019-x86 (push) Waiting to run
msys2 / MINGW32 (push) Waiting to run
msys2 / MINGW64 (push) Waiting to run
Scorecard supply-chain security / Scorecard analysis (push) Failing after 1s
[test/directwrite] Make the variations test actually test variations
2025-03-23 09:21:47 -06:00
Khaled Hosny
8d62ad3b35 [directwrite] Don’t release IDWriteFace pass to hb_directwrite_font_create
That was a leftover from previous code and is incorrect now as we would
be double releasing it.
2025-03-23 15:40:41 +02:00
Khaled Hosny
c226da8c35 [test/directwrite] Make the variations test actually test variations 2025-03-23 15:40:41 +02:00
Behdad Esfahbod
f48d641483
Merge pull request #5191 from harfbuzz/ci-exe-wrapper
Some checks failed
arm / arm-none-eabi (push) Waiting to run
configs-ci / build (push) Waiting to run
fontations / build (push) Waiting to run
linux-ci / build (push) Waiting to run
macos-ci / build (push) Waiting to run
msvc / msvc-2019-amd64 (push) Waiting to run
msvc / msvc-2019-x86 (push) Waiting to run
msys2 / MINGW32 (push) Waiting to run
msys2 / MINGW64 (push) Waiting to run
Scorecard supply-chain security / Scorecard analysis (push) Failing after 7s
Revert "[ci] Don’t set exe_wrapper in the cross files"
2025-03-22 20:36:59 -06:00
Behdad Esfahbod
018858b2ce
Merge branch 'main' into ci-exe-wrapper 2025-03-22 20:24:44 -06:00
Behdad Esfahbod
2421efc17b
Merge pull request #5192 from harfbuzz/dwrite-font-vars
[directwrite] Clean up API / font handling and make variations work on font-funcs
2025-03-22 20:23:29 -06:00
Behdad Esfahbod
3259f9f89a [test-directwrite] Fix test 2025-03-22 20:14:01 -06:00
Behdad Esfahbod
55743b239f [test/shape] Skip uniscribe/directwrite shapers under Wine 2025-03-22 19:56:00 -06:00
Behdad Esfahbod
9afdc7e1d2 [test-directwrite] Simplify 2025-03-22 19:48:15 -06:00
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
201a0fe361 [coretext] Fix a warning 2025-03-22 15:32:22 -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