Khaled Hosny
d89e90e8e3
[ci/configs] Make the build more useful by linking as well
...
Catches missing symbol issues.
2025-05-06 20:17:30 +03:00
Khaled Hosny
67bb0184a1
[ci/configs] Convert to a build matrix
2025-05-06 20:17:30 +03:00
Behdad Esfahbod
1c07f48bcb
Fix build with HB_NO_DRAW and HB_NO_PAINT
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/5313
Fixes https://github.com/harfbuzz/harfbuzz/issues/5316
2025-05-06 09:47:12 -06:00
Behdad Esfahbod
2831956ba2
Merge pull request #5314 from harfbuzz/check-scripts-cleanup
...
Cleanup check-*.py scripts
2025-05-06 09:33:13 -06:00
Khaled Hosny
77c24e8a0e
[check-*.py] Remove autotoolism
...
Instead of passing source dir and build dir to as envvars, pass
them directly as script arguments. The scripts also were supposed to be
able to run outsize of the build scripts, but this was broken since the
fallback when the envvars were not set was wrong.
The HBSOURCES and HBHEADERS are still passed as envvars since they are
long lists and might hit command line length limitation on some systems.
2025-05-06 13:17:13 +03:00
Khaled Hosny
a5d4e7ba0d
[check-static-inits.py] Cleanup
2025-05-06 12:50:28 +03:00
Khaled Hosny
d403529211
[check-*.py] Format
2025-05-06 12:49:45 +03:00
Behdad Esfahbod
91b10f111d
[meson_options] Reword
2025-05-05 15:14:48 -06:00
dependabot[bot]
abf8384217
Bump github/codeql-action from 3.28.16 to 3.28.17
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 3.28.16 to 3.28.17.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/github/codeql-action/compare/28deaeda66b76a05916b6923827895f2b14ab387...60168efe1c415ce0f5521ea06d5c2062adbeed1b )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-version: 3.28.17
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-05-05 15:24:09 +03:00
dependabot[bot]
9efe0f006e
Bump hendrikmuhs/ccache-action from 1.2.17 to 1.2.18
...
Bumps [hendrikmuhs/ccache-action](https://github.com/hendrikmuhs/ccache-action ) from 1.2.17 to 1.2.18.
- [Release notes](https://github.com/hendrikmuhs/ccache-action/releases )
- [Commits](https://github.com/hendrikmuhs/ccache-action/compare/a1209f81afb8c005c13b4296c32e363431bffea5...63069e3931dedbf3b63792097479563182fe70d1 )
---
updated-dependencies:
- dependency-name: hendrikmuhs/ccache-action
dependency-version: 1.2.18
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-05-05 15:24:00 +03:00
dependabot[bot]
ab92b85bf7
Bump setuptools from 80.0.0 to 80.3.1 in /.ci
...
Bumps [setuptools](https://github.com/pypa/setuptools ) from 80.0.0 to 80.3.1.
- [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/v80.0.0...v80.3.1 )
---
updated-dependencies:
- dependency-name: setuptools
dependency-version: 80.3.1
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-05-05 15:23:46 +03:00
Khaled Hosny
63cdd745ff
11.2.0
11.2.0
2025-04-28 15:56:32 +03:00
Khaled Hosny
6f5ededc80
Minor
2025-04-28 15:56:32 +03:00
dependabot[bot]
5ae3f12f4e
Bump actions/setup-python from 5.5.0 to 5.6.0
...
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from 5.5.0 to 5.6.0.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/8d9ed9ac5c53483de85588cdf95a591a75ab9f55...a26af69be951a213d495a4c3e4e4022e16d87065 )
---
updated-dependencies:
- dependency-name: actions/setup-python
dependency-version: 5.6.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-04-28 15:26:11 +03:00
dependabot[bot]
f317fb54a0
Bump github/codeql-action from 3.28.15 to 3.28.16
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 3.28.15 to 3.28.16.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/github/codeql-action/compare/45775bd8235c68ba998cffa5171334d58593da47...28deaeda66b76a05916b6923827895f2b14ab387 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-version: 3.28.16
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-04-28 15:26:00 +03:00
dependabot[bot]
5608b6ab90
Bump setuptools from 79.0.0 to 80.0.0 in /.ci
...
Bumps [setuptools](https://github.com/pypa/setuptools ) from 79.0.0 to 80.0.0.
- [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/v79.0.0...v80.0.0 )
---
updated-dependencies:
- dependency-name: setuptools
dependency-version: 80.0.0
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-04-28 14:15:31 +03:00
Behdad Esfahbod
fcedcf8111
[coretext] Another old-system build fix
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/5300#issuecomment-2831684725
2025-04-25 19:04:37 -06:00
Behdad Esfahbod
47a73eab5c
[coretext] Add a version check
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/5300
2025-04-25 16:21:12 -06:00
Behdad Esfahbod
861b20b030
[coretext] Switch away from deprecated API
2025-04-25 09:31:19 -06:00
Behdad Esfahbod
441f3b68c4
[directwrite] Port off of deprecated API
...
https://github.com/harfbuzz/harfbuzz/pull/5299#issuecomment-2829435360
2025-04-25 09:27:40 -06:00
Behdad Esfahbod
5933468261
[shape] Only apply slant to shaping results if horizontal
2025-04-23 20:56:32 -06:00
Behdad Esfahbod
52f9ca11d6
[check-symbols] Ignore more Rust symbols
2025-04-23 20:05:59 -06:00
Behdad Esfahbod
afb1e62719
Merge pull request #5299 from harfbuzz/font-parent-no-synthetic
...
Clean up synthetic bold/slant & synthesize glyph extents
2025-04-23 19:58:33 -06:00
Behdad Esfahbod
ff0b1f5497
[font] Comment
2025-04-23 19:28:54 -06:00
Behdad Esfahbod
e71a88d318
[paint] Fix crash
2025-04-23 19:17:31 -06:00
Behdad Esfahbod
6688a03ce2
[sbix/CBDT] Fix memory leaks in error case
2025-04-23 19:06:52 -06:00
Behdad Esfahbod
29d9a7a5dd
[font] Fix get_glyph_extents() logic
2025-04-23 18:55:52 -06:00
Behdad Esfahbod
40b03fdb88
[ft] Don't request NO_BITMAP in paint()
2025-04-23 18:33:14 -06:00
Behdad Esfahbod
01f485fdcf
[cairo] Adjust draw/paint
2025-04-23 18:23:51 -06:00
Behdad Esfahbod
17238eae3d
[ot/ft/fontations] Port to new _or_fail of draw/paint APIs
2025-04-23 18:23:51 -06:00
Behdad Esfahbod
38db1facf2
[paint] Change back return type of paint_glyph() to void
...
Add new "_or_fail" variants of draw_glyph and paint_glyph
New API:
+hb_font_draw_glyph_or_fail_func_t
+hb_font_paint_glyph_or_fail_func_t
+hb_font_funcs_set_draw_glyph_or_fail_func()
+hb_font_funcs_set_paint_glyph_or_fail_func()
+hb_font_draw_glyph_or_fail()
+hb_font_paint_glyph_or_fail()
Deprecated API:
-hb_font_draw_glyph_func_t
-hb_font_paint_glyph_func_t
-hb_font_funcs_set_draw_glyph_func()
-hb_font_funcs_set_paint_glyph_func()
2025-04-23 18:23:51 -06:00
Behdad Esfahbod
eb226383a0
[font] Synthesize glyph extents if needed
...
See code for logic.
Fixes https://github.com/harfbuzz/harfbuzz/issues/5273
2025-04-23 01:20:48 -06:00
Behdad Esfahbod
e78310bfaa
[paint] Change return type to bool, and return false for outline glyphs
...
It was impossible to get synthetic bold/slant correctly with the
previous API. This is a minor API break, but one I'm willing to take.
2025-04-23 01:02:15 -06:00
Behdad Esfahbod
a23021e168
[COLRv1] Simplify paint_glyph()
...
Pass a non-synthetic font to the client, so they don't have
to worry about it.
The only issue left, is that now when paint_glyph() paints
an outline glyph (not color glyph), it would be double-slanted.
I'm leaning towards removing painting of outline glyphs from
the paint API and change the paint API to return a boolean.
2025-04-23 00:43:56 -06:00
Behdad Esfahbod
023e229470
[cairo] Solely use public API
...
I actually don't know how hb-font.hh is pulled into hb-cairo.cc.
I can't figure it out!
2025-04-22 23:09:47 -06:00
Behdad Esfahbod
6f6d6e8c86
[cairo] Remove redundant include
2025-04-22 23:04:31 -06:00
Behdad Esfahbod
5d9cff80ec
[font] Move is_synthetic() to .hh
2025-04-22 23:01:28 -06:00
Behdad Esfahbod
b9a1cd7011
[cairo] Use hb_font_is_synthetic() to speed up clip_glyph
2025-04-22 22:54:34 -06:00
Behdad Esfahbod
bf28ca5f5c
[paint] Mention hb_font_is_synthetic()
2025-04-22 22:53:09 -06:00
Behdad Esfahbod
853720ead4
[font] Add hb_font_is_synthetic()
...
New API:
+hb_font_is_synthetic()
2025-04-22 22:51:40 -06:00
Behdad Esfahbod
4c0a925ee9
[paint] Document clip_glyph vs synthetic shapes hurdle
2025-04-22 22:36:28 -06:00
Behdad Esfahbod
01e9c77e30
[COLR] Fix clip-box
...
Was slanting it. Was wrong with new code.
2025-04-22 21:57:02 -06:00
Behdad Esfahbod
9445778e18
[test-paint] Update expectations for recent slant changes
2025-04-22 21:33:15 -06:00
Behdad Esfahbod
c57f49f772
[ft] Return false from get_extents for COLR glyphs
2025-04-22 21:32:35 -06:00
Behdad Esfahbod
fcbe76760f
[fontations] Return false from get_extents for COLR glyphs
2025-04-22 21:32:31 -06:00
Behdad Esfahbod
e9ae6cc524
[cairo] Draw unsynthetic glyphs during COLRv1
...
Fixes the double-slanting issue of COLRv1 glyphs.
2025-04-22 21:14:50 -06:00
Behdad Esfahbod
395bc27659
[font] Fix draw_glyph default implementation to new scheme
2025-04-22 21:05:53 -06:00
Behdad Esfahbod
a69713b520
[color] Move slanting to font layer
...
COLRv1 is still being double-slanted. Investigating.
2025-04-22 21:02:45 -06:00
Behdad Esfahbod
9dbb84e6fd
[font] Don't apply synthetic bold/slant to parent
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/5274
2025-04-22 20:25:44 -06:00
Behdad Esfahbod
1a9e21758d
[font/draw] Move slanting to font layer
...
I moved it to the draw layer in 11.0.0; That was a bad design:
font-funcs should NOT be responsible for synthetic bold & slant.
This design reverts that and makes the font layer apply it,
using a recording.
This is a minor API change from 11.0.0 since hb_draw_state_t::slant_xy
which was introduced in 11.0.0, is removed now. I believe no client
had started using it. It was only relevant to other font-funcs draw
implementations.
2025-04-22 19:52:21 -06:00