Log

Author Commit Date CI Message
Behdad Esfahbod b3e6bd20 2025-05-06T10:37:40 Merge branch 'main' into HVF
Behdad Esfahbod 1c07f48b 2025-05-06T09:46:39 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
Behdad Esfahbod 2831956b 2025-05-06T09:33:13 Merge pull request #5314 from harfbuzz/check-scripts-cleanup Cleanup check-*.py scripts
Khaled Hosny 77c24e8a 2025-05-06T13:17:13 [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.
Khaled Hosny a5d4e7ba 2025-05-06T12:49:57 [check-static-inits.py] Cleanup
Khaled Hosny d4035292 2025-05-06T12:33:33 [check-*.py] Format
Behdad Esfahbod 91b10f11 2025-05-05T15:14:48 [meson_options] Reword
dependabot[bot] abf83842 2025-05-05T11:18:06 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>
dependabot[bot] 9efe0f00 2025-05-05T11:14:42 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>
dependabot[bot] ab92b85b 2025-05-05T10:45:41 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>
Khaled Hosny 63cdd745 2025-04-28T14:28:29 11.2.0
Khaled Hosny 6f5ededc 2025-04-28T15:54:57 Minor
dependabot[bot] 5ae3f12f 2025-04-28T11:44:56 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>
dependabot[bot] f317fb54 2025-04-28T11:45:11 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>
dependabot[bot] 5608b6ab 2025-04-28T11:02:33 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>
Behdad Esfahbod fcedcf81 2025-04-25T19:04:37 [coretext] Another old-system build fix Fixes https://github.com/harfbuzz/harfbuzz/issues/5300#issuecomment-2831684725
Behdad Esfahbod 47a73eab 2025-04-25T16:21:12 [coretext] Add a version check Fixes https://github.com/harfbuzz/harfbuzz/issues/5300
Behdad Esfahbod 861b20b0 2025-04-25T09:31:19 [coretext] Switch away from deprecated API
Behdad Esfahbod 441f3b68 2025-04-25T09:27:40 [directwrite] Port off of deprecated API https://github.com/harfbuzz/harfbuzz/pull/5299#issuecomment-2829435360
Behdad Esfahbod d92106df 2025-04-24T21:42:20 Merge branch 'main' into HVF
Behdad Esfahbod 59334682 2025-04-23T20:56:32 [shape] Only apply slant to shaping results if horizontal
Behdad Esfahbod 52f9ca11 2025-04-23T20:05:59 [check-symbols] Ignore more Rust symbols
Behdad Esfahbod afb1e627 2025-04-23T19:58:33 Merge pull request #5299 from harfbuzz/font-parent-no-synthetic Clean up synthetic bold/slant & synthesize glyph extents
Behdad Esfahbod ff0b1f54 2025-04-23T19:28:54 [font] Comment
Behdad Esfahbod e71a88d3 2025-04-23T19:17:31 [paint] Fix crash
Behdad Esfahbod 6688a03c 2025-04-23T19:06:52 [sbix/CBDT] Fix memory leaks in error case
Behdad Esfahbod 29d9a7a5 2025-04-23T18:55:52 [font] Fix get_glyph_extents() logic
Behdad Esfahbod 40b03fdb 2025-04-23T18:33:14 [ft] Don't request NO_BITMAP in paint()
Behdad Esfahbod 01f485fd 2025-04-23T18:21:43 [cairo] Adjust draw/paint
Behdad Esfahbod 17238eae 2025-04-23T18:15:56 [ot/ft/fontations] Port to new _or_fail of draw/paint APIs
Behdad Esfahbod 38db1fac 2025-04-23T18:02:06 [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()
Behdad Esfahbod eb226383 2025-04-23T01:20:48 [font] Synthesize glyph extents if needed See code for logic. Fixes https://github.com/harfbuzz/harfbuzz/issues/5273
Behdad Esfahbod e78310bf 2025-04-23T00:58:08 [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.
Behdad Esfahbod a23021e1 2025-04-23T00:43:56 [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.
Behdad Esfahbod 023e2294 2025-04-22T23:09:47 [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!
Behdad Esfahbod 6f6d6e8c 2025-04-22T23:04:31 [cairo] Remove redundant include
Behdad Esfahbod 5d9cff80 2025-04-22T23:01:28 [font] Move is_synthetic() to .hh
Behdad Esfahbod b9a1cd70 2025-04-22T22:54:34 [cairo] Use hb_font_is_synthetic() to speed up clip_glyph
Behdad Esfahbod bf28ca5f 2025-04-22T22:53:09 [paint] Mention hb_font_is_synthetic()
Behdad Esfahbod 853720ea 2025-04-22T22:51:40 [font] Add hb_font_is_synthetic() New API: +hb_font_is_synthetic()
Behdad Esfahbod 4c0a925e 2025-04-22T22:36:28 [paint] Document clip_glyph vs synthetic shapes hurdle
Behdad Esfahbod 01e9c77e 2025-04-22T21:57:02 [COLR] Fix clip-box Was slanting it. Was wrong with new code.
Behdad Esfahbod 9445778e 2025-04-22T21:33:15 [test-paint] Update expectations for recent slant changes
Behdad Esfahbod c57f49f7 2025-04-22T21:32:35 [ft] Return false from get_extents for COLR glyphs
Behdad Esfahbod fcbe7676 2025-04-22T21:22:31 [fontations] Return false from get_extents for COLR glyphs
Behdad Esfahbod e9ae6cc5 2025-04-22T21:14:50 [cairo] Draw unsynthetic glyphs during COLRv1 Fixes the double-slanting issue of COLRv1 glyphs.
Behdad Esfahbod 395bc276 2025-04-22T21:05:53 [font] Fix draw_glyph default implementation to new scheme
Behdad Esfahbod a69713b5 2025-04-22T21:01:04 [color] Move slanting to font layer COLRv1 is still being double-slanted. Investigating.
Behdad Esfahbod 9dbb84e6 2025-04-22T20:25:44 [font] Don't apply synthetic bold/slant to parent Fixes https://github.com/harfbuzz/harfbuzz/issues/5274
Behdad Esfahbod 1a9e2175 2025-04-22T19:52:21 [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.
Behdad Esfahbod 9ef82f89 2025-04-22T19:35:34 [font] Embolden font_v_extents
Behdad Esfahbod 5ebd740e 2025-04-22T19:28:16 [font] Move font_h_extents emboldening to font layer
Behdad Esfahbod 0d871727 2025-04-22T15:40:06 [buffer] Limit the extent of set_flags range We can easily get into O(n^2) otherwise.
JordanTheToaster b0f4979d 2025-04-22T08:42:58 [cmake] Fix missing sources
dependabot[bot] ad36480b 2025-04-21T11:47:35 Bump setuptools from 78.1.0 to 79.0.0 in /.ci Bumps [setuptools](https://github.com/pypa/setuptools) from 78.1.0 to 79.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/v78.1.0...v79.0.0) --- updated-dependencies: - dependency-name: setuptools dependency-version: 79.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
Khaled Hosny fa791a34 2025-04-20T15:19:18 [ci/msys2] Drop mingw32 build Upstream is dropping it, and mingw-w64-i686-icu package is already gone. https://www.msys2.org/news/#2023-12-13-starting-to-drop-some-32-bit-packages https://github.com/msys2/MINGW-packages/discussions/19326
Behdad Esfahbod 12457498 2025-04-20T05:18:38 [meson] Report Fontations status
Behdad Esfahbod 66b357b9 2025-04-20T05:11:17 Merge branch 'main' into HVF
Behdad Esfahbod 05362548 2025-04-20T05:06:54 Merge pull request #5294 from harfbuzz/paint-bounds [COLRv1] `paint-bounds`
Behdad Esfahbod c62af2c3 2025-04-20T04:53:33 [paint-unbounded] Minor tweak I like it better this way.
Behdad Esfahbod 6e2806e4 2025-04-20T04:47:58 [paint-bounded] Reduce vector use Keep current drawing's boundedness outside of the vector (common case). Again, no speedup because of the scratch pattern.
Behdad Esfahbod a9ed7515 2025-04-20T04:35:44 Merge branch 'main' into HVF
Behdad Esfahbod 27b2e16a 2025-04-20T04:34:40 [atomic] Make cmpexch() non-const Was a mistake. Make the affected members mutable instead.
Behdad Esfahbod 7aa3ab93 2025-04-20T04:28:28 [paint-bounded] Remove one vector Doesn't make things faster though because of the scratch pattern.
Behdad Esfahbod 78822b63 2025-04-20T04:23:35 Revert "[COLRv1] Move paint boundedness check to font layer" This reverts commit c9a26fbf47f01fdd55df1a0ccc81111cb07bf108.
Behdad Esfahbod c9a26fbf 2025-04-20T04:22:32 [COLRv1] Move paint boundedness check to font layer This way it will apply to fontations and future implementations as well. But this slows down things apparently, specially if the font does use clipboxes. So I'm going to revert.
Behdad Esfahbod 8aa88aa4 2025-04-20T04:08:41 [COLRv1:ot/ft] Use paint-bounded instead of paint-extents Faster. Note that this also means that if there is no clip-box, we don't compute the bounds and emit an initial clip anymore. That was totally unnecessary and against the COLRv1 rendering algorithm. This makes painting of COLRv1 fonts without clipboxes *much* faster, as previously we were computing bounds using all subglyph outlines. Not anymore. Before: BM_Font/paint_glyph/Nupuram-Color.colrv1.ttf/ot 1.78 ms After: BM_Font/paint_glyph/Nupuram-Color.colrv1.ttf/ot 0.155 ms
Behdad Esfahbod d175e221 2025-04-20T03:29:11 [paint-bounded] Add new code to compute boundedness of paintings This is faster than using paint-extents to just compute boundedness. Unused right now.
Behdad Esfahbod 4a9ac263 2025-04-20T02:12:40 [draw] Move draw_extents form paint-extents to draw
Behdad Esfahbod aef3df50 2025-04-20T00:37:24 Merge branch 'main' into HVF
Behdad Esfahbod 4fc84b0e 2025-04-20T00:36:28 [ot-font] Fix order of COLR vs VARC extents COLR can reference VARC, not the other way around.
Behdad Esfahbod 01793d3e 2025-04-20T00:32:44 [fontations] Pop font transform
jfkthame 4e7b178f 2025-04-17T15:05:20 Avoid unannotated-fallthrough in hb-ot-layout-base-table.hh
jfkthame 2602f729 2025-04-17T15:02:59 Avoid unannotated-fallthrough warning in COLR.hh
Khaled Hosny 416e6b69 2025-04-16T20:21:27 11.1.0
Behdad Esfahbod 32b36fa8 2025-04-15T12:14:01 [atexit] Fix extra semicolon Fixes https://github.com/harfbuzz/harfbuzz/issues/5290
Behdad Esfahbod bc15ebde 2025-04-15T12:37:11 [font] Fix abs of int value
Behdad Esfahbod 8f413a53 2025-04-15T10:03:16 [layout] Docs
Behdad Esfahbod 21516f74 2025-04-15T09:58:25 [cmake] Add hb-script-list.h Fixes https://github.com/harfbuzz/harfbuzz/issues/5288
Behdad Esfahbod 7bb3000a 2025-04-13T12:46:52 [font] Allow negative emboldening strength to enlighten
dependabot[bot] 4da8671b 2025-04-14T10:16:54 Bump github/codeql-action from 3.28.14 to 3.28.15 Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.28.14 to 3.28.15. - [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/fc7e4a0fa01c3cca5fd6a1fddec5c0740c977aa2...45775bd8235c68ba998cffa5171334d58593da47) --- updated-dependencies: - dependency-name: github/codeql-action dependency-version: 3.28.15 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
Khaled Hosny e192a584 2025-04-15T15:52:52 [check-symbols] Ignore another rust symbol Fixes https://github.com/harfbuzz/harfbuzz/issues/5287
robxnano cf7bffb6 2025-04-05T12:42:47 meson: Use full path in HBSOURCES Using the file object directly in a format string is broken and now deprecated.
robxnano 9def626d 2025-04-05T12:37:09 meson: Fix warnings about features in later versions By using the fs.relative_to() function inside version_compare blocks, Meson can suppress warning messages about it being used in a project with a lower minimum version.
robxnano e2a865f0 2025-04-05T12:29:28 meson: Only check for _MSC_FULL_VER once Prevents the log from filling with repeated calls to check the value of the define.
Garret Rieger efcb7d3d 2025-04-11T23:34:06 [subset] close unicodes over bidi mirror variants during subsetting. Fixes #5281. Does the closure by default, but I've introduced a new flag and option to disable this behaviour since some users may want to get the minimal set if they know they don't need the mirrored variants.
Behdad Esfahbod 04cdcbf0 2025-04-10T18:40:03 Merge branch 'main' into HVF
Garret Rieger 5afbd187 2025-04-09T22:48:27 [subset] Split subset plan variations function into separate file. Compile times for hb-subset-plan.cc go from 16s -> 13s.
Behdad Esfahbod e6b5dba3 2025-04-09T16:53:08 [README] Add Subsetter study
Garret Rieger d3ccdcdd 2025-04-09T22:26:59 [subset] Move GDEF subset planning into hb-subset-plan-layout.cc
Garret Rieger b33f2e26 2025-04-09T22:11:12 [subset] Start splitting layout specific subset plan functionality. The aim is to reduce the compiled time of hb-subset-plan.cc which on my machine takes almost 30s to compile.
Behdad Esfahbod ab323515 2025-04-08T22:13:02 [common] Move hb_script_t enum to a separate file Fixes https://github.com/harfbuzz/harfbuzz/issues/5271
Behdad Esfahbod 5f80cc16 2025-04-08T02:11:11 [directwrite] Fix build
Behdad Esfahbod 6b012428 2025-04-08T01:58:10 [mutex] Delete copy constructors
Behdad Esfahbod caa9cf2e 2025-04-08T01:50:51 [atomic] Remove unnecessary macro Had typo in it as well.
Behdad Esfahbod fd9a2f23 2025-04-07T17:44:45 [GPOS] Regain speed
Behdad Esfahbod bf3dd7b9 2025-04-07T16:37:08 Merge branch 'main' into HVF
Behdad Esfahbod c7f98090 2025-04-07T16:36:42 [GPOS] Short-circuit variations if no axis set
Behdad Esfahbod 204cc5bc 2025-04-07T14:11:11 Merge branch 'main' into HVF
Garret Rieger b1a0a4c2 2025-04-07T18:39:21 In OT::VarData::Serialize don't attempt to serialize an empty set of rows. Protects against incorrectly accessing rows[0] when rows is empty.