Commit graph

18508 commits

Author SHA1 Message Date
Dave Crossland
c19fef1cc8
Merge baae3feac2 into 46a30fe390 2025-03-25 10:53:00 +01:00
Behdad Esfahbod
46a30fe390 [test/shape] Respect @shapers directive
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
msys2 / CLANG64 (push) Waiting to run
Scorecard supply-chain security / Scorecard analysis (push) Failing after 1s
2025-03-24 18:23:34 -06:00
Behdad Esfahbod
bb3a55a61a [fontations] Add TODO
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
msys2 / CLANG64 (push) Waiting to run
Scorecard supply-chain security / Scorecard analysis (push) Failing after 1s
2025-03-24 17:05:58 -06:00
Behdad Esfahbod
0affe12785 [fontations] Apply variations to glyph_v_advances 2025-03-24 17:00:57 -06:00
Behdad Esfahbod
83d3ffc5d1 [fontations] Hook up variations to v_origin
Output matches ot backend, but not ft. Not gonna dig down there
right now. I *think* ft doesn't implement VORG table IIRC.
2025-03-24 16:58:12 -06:00
Behdad Esfahbod
0ae4b8f48e [fontations] Implement glyph_v_advances
Without variations for now.
2025-03-24 16:45:35 -06:00
Behdad Esfahbod
aa450db1f7 [README.mingw.md] Update for newer meson
https://github.com/mesonbuild/meson/issues/14400
2025-03-24 16:35:51 -06:00
Behdad Esfahbod
10256a9fc7 [README.mingw] Reword 2025-03-24 16:13:14 -06:00
Behdad Esfahbod
6c337ddc24 [README.mingw] Add note re Apple silicon 2025-03-24 16:04:49 -06:00
Christoph Reiter
59c0deba8f [ci/msys2] Remove workaround for meson preferring system libraries
The workaround was added in #4354 to avoid the linker using system harfbuzz
over the just built one.

This is/was most likely https://github.com/mesonbuild/meson/pull/12861
which hopefully should be merged upstream for meson 1.8.

In MSYS2 we have backported this fix for over a year since
https://github.com/msys2/MINGW-packages/pull/20058 so using the meson
package provided by MSYS2 (as is the case here) should avoid the problem
already.
2025-03-24 13:36:00 -06:00
Christoph Reiter
7876aac4eb [ci/msys2] install pkgconf instead of pkg-config
It's the default implementation in MSYS2 and pacman was not installing
it anyway since it conflicted with pkgconf which was required by other
packages earlier in the install list.
2025-03-24 13:36:00 -06:00
Christoph Reiter
4901ecd66e [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 13:36:00 -06:00
Behdad Esfahbod
589e78cec5 [fontations] Handle recursive clip-glyphs
This reverts 852f66a418 in spirit,
using a malloc-free implementation and keeping the fill-glyph
optimization.
2025-03-24 13:21:56 -06: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