Commit graph

17486 commits

Author SHA1 Message Date
Behdad Esfahbod
0c2f5ecd51 [normalizer] Add c.override_decompose_and_compose 2024-06-06 14:05:56 -06:00
Behdad Esfahbod
8a9bc52303 [normalizer] Move a couple functions around 2024-06-06 13:56:33 -06:00
Behdad Esfahbod
bda5f647ce [normalizer] Allow c->plan to be nullptr
Might want it for subset closure.
2024-06-06 13:52:44 -06:00
Behdad Esfahbod
3e06b7054a [ot-map] Make shaper categorizer independent of shape planner
We might want to use it in the subset closure.
2024-06-06 12:04:59 -06:00
Behdad Esfahbod
4ec3cb0fc3 [Glyph] Don't round to int when shifting glyphs
Fixes a fuzzer issue and seems harmless.
2024-06-06 11:47:18 -06:00
Behdad Esfahbod
2db636c65e [VARC] Try fixing build failure on i386 2024-06-06 11:17:35 -06:00
Behdad Esfahbod
1e2bd4983e Another include fix
https://github.com/harfbuzz/harfbuzz/issues/4740#issuecomment-2148910890
2024-06-04 23:53:36 -06:00
Behdad Esfahbod
e9870e8d54 Add missing include
https://github.com/harfbuzz/harfbuzz/issues/4740#issuecomment-2148727072
2024-06-04 20:50:06 -06:00
dependabot[bot]
c1ca46e4eb Bump fonttools from 4.52.1 to 4.53.0 in /.ci
Bumps [fonttools](https://github.com/fonttools/fonttools) from 4.52.1 to 4.53.0.
- [Release notes](https://github.com/fonttools/fonttools/releases)
- [Changelog](https://github.com/fonttools/fonttools/blob/main/NEWS.rst)
- [Commits](https://github.com/fonttools/fonttools/compare/4.52.1...4.53.0)

---
updated-dependencies:
- dependency-name: fonttools
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-03 08:04:16 -07:00
dependabot[bot]
09947ae1f9 Bump meson from 1.4.0 to 1.4.1 in /.ci
Bumps [meson](https://github.com/mesonbuild/meson) from 1.4.0 to 1.4.1.
- [Release notes](https://github.com/mesonbuild/meson/releases)
- [Commits](https://github.com/mesonbuild/meson/compare/1.4.0...1.4.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-03 08:04:06 -07:00
Behdad Esfahbod
42bf7ce7c9 Try to fix warning on 32bit system
Hopefully fixes
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=69281
2024-06-02 10:34:34 -06:00
Behdad Esfahbod
9456f6bdfa [test] Fix a few compiler warnings 2024-06-02 10:32:07 -06:00
David Corbett
c2b5b7b9ca [ot-tags] Update IANA and OT language registries 2024-06-01 12:07:54 -07:00
David Corbett
86942e9afc [ot-tags] Let Võro fall back to Estonian 2024-06-01 12:07:54 -07:00
David Corbett
88868411bf [ot-tags] Remove obsolete overrides 2024-06-01 12:07:54 -07:00
خالد حسني (Khaled Hosny)
f5d88951c5
Merge pull request #4650 from fanc999-1/freetype-cmake
Meson: Use actual FreeType version when using CMake
2024-05-31 04:01:35 +03:00
Khaled Hosny
135d6537d9 test-draw-varc.c: Fix “warning: unused function” 2024-05-31 03:28:13 +03:00
Behdad Esfahbod
3fa47cea27 [subset] Add HB_SUBSET_FLAGS_NAME_LEGACY to keep_everything()
Fixes https://github.com/harfbuzz/harfbuzz/issues/4739
2024-05-30 17:39:33 -06:00
Behdad Esfahbod
e8049ae9a8 [VARC] Sanitize ConditionList
Oops!

Fixes https://oss-fuzz.com/testcase-detail/6610112583106560
2024-05-30 14:38:53 -06:00
Behdad Esfahbod
88e9cd3fd3 [VARC] Check for an OOM
Otherwise we can infinitely recurse.

Fixes https://oss-fuzz.com/testcase-detail/6221534946459648
2024-05-30 14:31:32 -06:00
Behdad Esfahbod
9f8f81403d [main.cc] Add note 2024-05-30 11:40:13 -06:00
Behdad Esfahbod
ec437ccd72 [VARC] Adapt to change of meaning of RESET_UNSPECIFIED_AXES
Implements:
3f5cdc45d2
2024-05-29 17:51:27 -06:00
خالد حسني (Khaled Hosny)
3c435d8678
Merge pull request #4734 from kanavin/fix-icu-2
meson: set -std=c++17 when building with icu >= 75
2024-05-28 18:22:30 +03:00
Alexander Kanavin
93d58f8315 meson: set -std=c++17 when building with icu >= 75
Fixes:
https://github.com/harfbuzz/harfbuzz/issues/4671
2024-05-28 11:42:24 +02:00
dependabot[bot]
09a17a086c Bump github/codeql-action from 3.25.5 to 3.25.6
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.25.5 to 3.25.6.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](b7cec75265...9fdb3e4972)

---
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>
2024-05-27 07:32:56 -07:00
dependabot[bot]
1407b6b3d6 Bump codecov/codecov-action from 4.4.0 to 4.4.1
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 4.4.0 to 4.4.1.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](6d798873df...125fc84a9a)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-27 07:32:29 -07:00
dependabot[bot]
200b20aa87 Bump setuptools from 69.5.1 to 70.0.0 in /.ci
Bumps [setuptools](https://github.com/pypa/setuptools) from 69.5.1 to 70.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/v69.5.1...v70.0.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-27 07:32:13 -07:00
dependabot[bot]
73ae5f709b Bump fonttools from 4.51.0 to 4.52.1 in /.ci
Bumps [fonttools](https://github.com/fonttools/fonttools) from 4.51.0 to 4.52.1.
- [Release notes](https://github.com/fonttools/fonttools/releases)
- [Changelog](https://github.com/fonttools/fonttools/blob/main/NEWS.rst)
- [Commits](https://github.com/fonttools/fonttools/compare/4.51.0...4.52.1)

---
updated-dependencies:
- dependency-name: fonttools
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-27 07:32:05 -07:00
Behdad Esfahbod
ee0c7d6bc5 [geometry] Use && instead of "and"
This is not Python. :))

https://github.com/harfbuzz/harfbuzz/pull/4727#issuecomment-2131381810
2024-05-25 12:14:05 -06:00
Behdad Esfahbod
484cb2608e [CFF] Handle error in case of Null used on Unsized type :( 2024-05-24 09:41:39 -07:00
Behdad Esfahbod
361d30e287 [CFF] Ignore unknown operators
Fixes https://github.com/harfbuzz/harfbuzz/issues/4558
2024-05-24 09:41:39 -07:00
Behdad Esfahbod
0037ee281f
Merge pull request #4578 from harfbuzz/varc-table
`VARC` table
2024-05-24 08:10:15 -07:00
Behdad Esfahbod
fecc5789d4 [var] Minor, make a function a template 2024-05-23 16:23:21 -06:00
dependabot[bot]
bc90b29b37 Bump github/codeql-action from 3.25.4 to 3.25.5
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.25.4 to 3.25.5.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](ccf74c9479...b7cec75265)

---
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>
2024-05-20 07:05:11 -07:00
dependabot[bot]
71ff393dc9 Bump codecov/codecov-action from 4.3.1 to 4.4.0
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 4.3.1 to 4.4.0.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](5ecb98a3c6...6d798873df)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-20 07:04:59 -07:00
dependabot[bot]
95526ef96f Bump actions/checkout from 4.1.5 to 4.1.6
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.5 to 4.1.6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](44c2b7a8a4...a5ac7e51b4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-20 07:04:50 -07:00
Behdad Esfahbod
1da053e87f [aat] Remove unused template parameter 2024-05-13 16:44:50 -06:00
Behdad Esfahbod
e2f1e38768
Merge pull request #4719 from harfbuzz/aat-buffer-digest
[aat] For short words, use buffer digest to skip morx / kerx subtables
2024-05-13 15:19:58 -07:00
Behdad Esfahbod
204778e831 [aat] Use buffer-digest for non-state-machine kerning as well 2024-05-13 15:59:54 -06:00
Behdad Esfahbod
fbcfc1984d [aat] Change buffer-digest threshold to 32 2024-05-13 15:49:00 -06:00
Behdad Esfahbod
f536a416fd [aat] For short words, use buffer digest to skip kerx machine subtables
Shows 3 / 4% speedup in fa-words test case with GeezaPro.
2024-05-13 15:43:50 -06:00
Behdad Esfahbod
3ff9ebc868 [aat] For short words, use buffer digest to skip morx subtables
Shows 3 / 4% speedup in en-words test case with Helvetica Neue.
2024-05-13 15:13:52 -06:00
dependabot[bot]
687c218fcb Bump codecov/codecov-action from 4.3.0 to 4.3.1
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 4.3.0 to 4.3.1.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](84508663e9...5ecb98a3c6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-13 23:58:23 +03:00
Behdad Esfahbod
c9d6bbcf46 [aat] Minor don't copy variable 2024-05-13 14:54:11 -06:00
Khaled Hosny
30485ee8c3 Typo 2024-05-13 23:46:17 +03:00
Behdad Esfahbod
9ea29789d7 [aat] Minor 2024-05-13 14:45:41 -06:00
Khaled Hosny
71b1ba7aa6 8.5.0 2024-05-13 23:42:50 +03:00
Garret Rieger
0660a4d408 [subset] fix fuzzer found heap use after free in BASE subsetting. 2024-05-13 13:39:20 -07:00
Garret Rieger
3f38ffd633 [subset] Fix remaining double conversion warnings. 2024-05-13 13:18:27 -07:00
Steve Lhomme
6253b3a905 [meson] build ragel as a native tool
When cross compiling it will build a target (host) binary that can't be run on the building machine.

Also remove the install flag which is not compatible with the native flag, but the custom built ragel is correctly picked.
2024-05-13 20:42:13 +03:00