Behdad Esfahbod
0d1123d072
[util] Report exit codes in help
2025-03-26 21:12:27 -06:00
Behdad Esfahbod
8dadcdbe25
[util] Simplify envvar reporting
2025-03-26 20:12:30 -06:00
Khaled Hosny
a6f563247e
[util] Fix Windows build
...
Windows headers define `environ`.
2025-03-27 03:26:20 +02:00
Behdad Esfahbod
93288a1ced
[util] Fix crasher
2025-03-27 03:26:20 +02:00
Behdad Esfahbod
a410a042c7
[util] Add environment and see also sections
...
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
Part of https://github.com/harfbuzz/harfbuzz/issues/5208
2025-03-26 18:09:07 -06:00
Behdad Esfahbod
4d83b238ea
[util] Link to website for more info / reporting bugs
...
Part of https://github.com/harfbuzz/harfbuzz/issues/5208
2025-03-26 13:01:34 -06:00
Behdad Esfahbod
59001aa952
[util] Add brief --help descriptions
...
Part of https://github.com/harfbuzz/harfbuzz/issues/5208
2025-03-26 12:33:06 -06:00
Behdad Esfahbod
3d3f241941
[util] Improve help messages a bit
...
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 / CLANG64 (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
Part of https://github.com/harfbuzz/harfbuzz/issues/5208
2025-03-26 01:18:09 -06:00
Behdad Esfahbod
75643768de
[util] List available shapers in --help-all
...
Remove it from --version.
Part of https://github.com/harfbuzz/harfbuzz/issues/5208
2025-03-26 01:00:38 -06:00
Behdad Esfahbod
29c800bd8d
[util] Return diff values for diff failures
...
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 0s
Need documentation in the help output...
Fixes https://github.com/harfbuzz/harfbuzz/issues/5164
2025-03-25 16:55:03 -06:00
Qunxin Liu
192d264ae7
[subset] remove divisions when computing the cost of binary search
2025-03-25 15:37:14 -06:00
Behdad Esfahbod
4d2a362f84
[test/subset] Remove tempdir
...
Was creating a tempdir in /tmp for every single test item,
and not removing it. Create one per test file, and remove
if test successful.
2025-03-25 15:36:39 -06:00
Behdad Esfahbod
bed29d1cd3
Merge pull request #5211 from harfbuzz/aots-update
...
Aots update
2025-03-25 15:19:56 -06:00
Behdad Esfahbod
e16a985798
[test/shape/aots] Add directive to run with ot shaper only
2025-03-25 15:17:23 -06:00
Behdad Esfahbod
851d3e33b5
[aots] Fix compile error
...
Also requires https://github.com/adobe-type-tools/aots/pull/5 to
be merged. Or if that repo is inactive, we can switch to my fork.
2025-03-25 15:06:24 -06:00
Behdad Esfahbod
2b5f244639
[util] Remove hb-ot-shape-closure
...
Not used...
2025-03-25 14:12:36 -06:00
Behdad Esfahbod
eec9108416
[test/shape] Adjust uniscribe test
2025-03-25 13:56:12 -06:00
Behdad Esfahbod
fea0c0df33
[fontations] More idiomatic
2025-03-25 12:34:00 -06:00
Behdad Esfahbod
fe51e23738
Merge pull request #5206 from harfbuzz/tests-improvements
...
Some small test improvements
2025-03-25 12:20:02 -06:00
Khaled Hosny
188531b3ba
[circleci] Drop minsize job
...
It is causing trouble again and it was never that useful.
2025-03-25 19:24:00 +02:00
Khaled Hosny
d81d4dfbd3
[circleci] Lets see of using Ubuntu 24.04 fixes the minsize job
2025-03-25 19:24:00 +02:00
Khaled Hosny
614013940d
[test/shape] Update comment
2025-03-25 19:24:00 +02:00
Khaled Hosny
190ad35f71
[test/shape] Don’t skip test if hb-shape --list-*
fails
...
This can happen with Wine when, e.g., `WINEPATH` is not set, and we
would silently skip the tests because lists of supported shapers etc.
are empty.
2025-03-25 16:34:19 +02:00
Khaled Hosny
6cf308c857
[test/shape] Remove @font-funcs-=directwrite from directwrite test
...
The directwrite font functions support variations now, so this is no
longer needed.
2025-03-25 10:34:43 +02:00
Khaled Hosny
1402ecfecf
[test/shape] Use @shapers directive in uniscribe test
2025-03-25 10:33:38 +02:00
Behdad Esfahbod
46a30fe390
[test/shape] Respect @shapers directive
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
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
...
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