Commit graph

17196 commits

Author SHA1 Message Date
dependabot[bot]
2b986af839 Bump meson from 1.3.1 to 1.3.2 in /.ci
Bumps [meson](https://github.com/mesonbuild/meson) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/mesonbuild/meson/releases)
- [Commits](https://github.com/mesonbuild/meson/compare/1.3.1...1.3.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-19 12:00:41 +01:00
dependabot[bot]
58a9b36333 Bump github/codeql-action from 3.24.0 to 3.24.3
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.24.0 to 3.24.3.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](e8893c57a1...379614612a)

---
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-02-19 11:32:15 +01:00
Bruce Mitchener
fb6d4d27d6 Remove unnecessary std::move().
This fixes a warning from clang-tidy:

    warning: std::move of the variable 'mapping' of the trivially-copyable
        type 'AxisValueMap' has no effect [performance-move-const-arg]
2024-02-17 11:04:50 +01:00
Bruce Mitchener
3cfdbd6717 Use noexcept on swap, move constructors, etc. 2024-02-17 11:04:10 +01:00
Bruce Mitchener
1bddeb974f Use literal bools when possible rather than ints. 2024-02-16 18:22:09 +01:00
Garret Rieger
8974fe484b [subset] Add a partial instancing + IUP case to the subset benchmarks. 2024-02-14 22:27:39 +01:00
Magnus Larsen
b8178f2554 Disable Wcast-function-type on clang-cl, too 2024-02-13 08:06:44 +01:00
dependabot[bot]
c926eb956c Bump actions/upload-artifact from 4.3.0 to 4.3.1
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.3.0 to 4.3.1.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](26f96dfa69...5d5d22a312)

---
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>
2024-02-12 17:29:41 +01:00
dependabot[bot]
6d7da03d95 Bump setuptools from 69.0.3 to 69.1.0 in /.ci
Bumps [setuptools](https://github.com/pypa/setuptools) from 69.0.3 to 69.1.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.0.3...v69.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-12 17:29:34 +01:00
dependabot[bot]
e79028c20f Bump fonttools from 4.47.2 to 4.48.1 in /.ci
Bumps [fonttools](https://github.com/fonttools/fonttools) from 4.47.2 to 4.48.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.47.2...4.48.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-02-12 17:29:28 +01:00
Christer Sandberg
1ab8822b41 Fixed some errors in STAT table implementation 2024-02-10 07:08:18 -07:00
Behdad Esfahbod
031fdb1c8b Rename VarStoreInstancer to ItemVarStoreInstancer 2024-02-06 14:52:03 -07:00
Behdad Esfahbod
1cb47eff8f Rename VariationStore to ItemVariationStore 2024-02-06 14:52:03 -07:00
Lőrinczy, Zsigmond
4c77bd921c
Update hb-serialize.hh (#4576)
* Update hb-serialize.hh

This version does compile with g++ 4.8.3 which is the newest available version on Aix5.3

* Update hb-serialize.hh

Back to the original version, just without `this->`
2024-02-06 09:51:49 -07:00
dependabot[bot]
c546aa6c5a Bump github/codeql-action from 3.23.2 to 3.24.0
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.23.2 to 3.24.0.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](b7bf0a3ed3...e8893c57a1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-05 08:30:27 -07:00
dependabot[bot]
672fcd968f Bump codecov/codecov-action from 3.1.5 to 4.0.1
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3.1.5 to 4.0.1.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](4fe8c5f003...e0b68c6749)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-05 08:30:10 -07:00
Khaled Hosny
8da99b83e6 [docs] Order hb-ot-color functions is more organized way 2024-02-03 14:24:12 +02:00
Behdad Esfahbod
a9b8891799
Merge pull request #4563 from googlefonts/instancer_iup_delta_opt
[Instancer] add code for iup delta optimization
2024-02-02 18:24:24 -07:00
Qunxin Liu
97309483ea [instancer] rename HB_SUBSET_FLAGS_IUP_DELTA_OPT to HB_SUBSET_FLAGS_OPTIMIZE_IUP_DELTAS 2024-02-02 16:59:19 -08:00
Qunxin Liu
2dabbdfc66 [instancer] fix help message for --optimize 2024-02-02 13:39:33 -08:00
Qunxin Liu
f072de9359 [instancer] move iup code to a seprate file 2024-01-30 10:52:42 -08:00
dependabot[bot]
bebdb3347c Bump codecov/codecov-action from 3.1.4 to 3.1.5
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3.1.4 to 3.1.5.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](eaaf4bedf3...4fe8c5f003)

---
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-01-29 07:53:22 -08:00
dependabot[bot]
74228888fe Bump github/codeql-action from 3.23.1 to 3.23.2
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.23.1 to 3.23.2.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](0b21cf2492...b7bf0a3ed3)

---
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-01-29 07:53:15 -08:00
dependabot[bot]
0ba9220413 Bump actions/upload-artifact from 4.2.0 to 4.3.0
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.2.0 to 4.3.0.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](694cdabd8b...26f96dfa69)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-29 07:53:07 -08:00
dependabot[bot]
98e290c0c8 Bump hendrikmuhs/ccache-action from 1.2.11 to 1.2.12
Bumps [hendrikmuhs/ccache-action](https://github.com/hendrikmuhs/ccache-action) from 1.2.11 to 1.2.12.
- [Release notes](https://github.com/hendrikmuhs/ccache-action/releases)
- [Commits](2a51777f6f...faf867a11c)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-29 07:52:57 -08:00
Behdad Esfahbod
846d5204c0 [ft] Remove unnecessary cast 2024-01-27 16:34:29 -08:00
Behdad Esfahbod
9182315bba [hb.hh] Add error -Wcast-function-type-strict 2024-01-27 16:33:46 -08:00
Qunxin Liu
97c85ab2d0 [instancer] iup delta optimize: fix is_composite_glyph value in gvar 2024-01-26 16:36:56 -08:00
Qunxin Liu
4d5fb233e3 fix build 2024-01-26 16:11:06 -08:00
Qunxin Liu
84771374e8 [instancer] add tests for iup delta optimization 2024-01-26 15:51:49 -08:00
Qunxin Liu
0cbc812340 [instancer] add iup_optimize() call into instantiation 2024-01-26 15:42:29 -08:00
Patrick Griffis
aed309d1ec [autotools] Installing missing hb-features.h header
This is already installed by CMake and Meson.
2024-01-26 11:29:28 -08:00
Qunxin Liu
52c3cda31b [instancer] add composite_new_gids set in subset plan
This is only used by iup delta optimization where we need to know
whether glyph is composite or not
2024-01-26 10:55:57 -08:00
Qunxin Liu
a3e3473cc8 [instancer] when iup delta opt is enabled, add default deltas to coords 2024-01-26 10:42:21 -08:00
Qunxin Liu
f1cdcc70c1 [instancer] add iup delta optimization functions tuple_delta_t
ported from fonttools
2024-01-26 10:12:38 -08:00
Qunxin Liu
8ad540bb84 [instancer] move compile_point_set to be a member of tuple_delta_t
Also change hb_bytes_t to vector for memory safety
2024-01-26 09:58:48 -08:00
Qunxin Liu
c7a6030b31 [instancer] add a flag HB_SUBSET_FLAGS_IUP_DELTA_OPT 2024-01-26 09:27:27 -08:00
Elliot
93a148cde6 fix warning when compiling with clang-cl 2024-01-25 10:12:04 -08:00
Behdad Esfahbod
4a18c502e2 [cmake] Treat VITA like gcc
https://github.com/vitasdk/packages/issues/300
2024-01-23 05:12:43 -08:00
dependabot[bot]
4b716b101e Bump github/codeql-action from 3.23.0 to 3.23.1
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.23.0 to 3.23.1.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](e5f05b81d5...0b21cf2492)

---
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-01-22 10:29:55 -08:00
dependabot[bot]
e67a94017e Bump actions/upload-artifact from 4.1.0 to 4.2.0
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.1.0 to 4.2.0.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](1eb3cb2b3e...694cdabd8b)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-22 10:29:40 -08:00
dependabot[bot]
62e1de7f16 Bump actions/upload-artifact from 4.0.0 to 4.1.0
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.0.0 to 4.1.0.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](c7d193f32e...1eb3cb2b3e)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-15 09:07:02 -07:00
dependabot[bot]
d53c97e6af Bump github/codeql-action from 3.22.12 to 3.23.0
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.22.12 to 3.23.0.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](012739e508...e5f05b81d5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-15 09:06:49 -07:00
dependabot[bot]
9c143d5258 Bump fonttools from 4.47.0 to 4.47.2 in /.ci
Bumps [fonttools](https://github.com/fonttools/fonttools) from 4.47.0 to 4.47.2.
- [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.47.0...4.47.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-15 09:06:38 -07:00
Sergei Trofimovich
032c931e1c use calloc(nmemb, size), not calloc(size, nmemb)
This minor mismatch is detected by new `-Wcalloc-transposed-args`
`gcc-14` warning as:

    In file included from ../src/hb-subset-plan.cc:38:
    ../src/hb-ot-cff1-table.hh: In member function 'bool OT::cff1::accelerator_t::get_glyph_from_name(const char*, int, hb_codepoint_t*) const':
    ../src/hb-ot-cff1-table.hh:1419:60: warning: 'void* calloc(size_t, size_t)' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args]
     1419 |         names = (hb_sorted_vector_t<gname_t> *) hb_calloc (sizeof (hb_sorted_vector_t<gname_t>), 1);
          |                                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2024-01-13 10:34:18 -07:00
dependabot[bot]
11f8914add Bump jinja2 from 3.1.2 to 3.1.3 in /.ci
Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.2 to 3.1.3.
- [Release notes](https://github.com/pallets/jinja/releases)
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/jinja/compare/3.1.2...3.1.3)

---
updated-dependencies:
- dependency-name: jinja2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-11 14:16:28 -07:00
Garret Rieger
ef1f5c4e0c [subset] Re-use common Coverage subsetting function in PairPosFormat2.
Was using an identical but less efficient version. Fixes fuzzer test case: https://oss-fuzz.com/testcase-detail/6151390002806784
2024-01-08 15:34:45 -07:00
Behdad Esfahbod
e0e2b29ea8 [cmap] Implement MacRoman encoding
For other Mac encodings just map the ASCII range.

Fixes https://github.com/harfbuzz/harfbuzz/issues/4540
2024-01-08 12:30:23 -07:00
Behdad Esfahbod
ef289a9e20 [COLR] Reduce COLRv1 max edge count
64k sounds excessive.

Fixes https://oss-fuzz.com/testcase-detail/5383336738291712
2024-01-08 09:11:34 -07:00
Lie Yan
155015f4be refactor(math-kern): call hb_bsearch_impl instead of raw binary search 2024-01-08 07:05:56 -07:00