Commit Graph
20650 Commits
Author SHA1 Message Date
Behdad Esfahbod 225a7a8a5e [aat] Mark DELETED_GLYPH as IGNORABLE
Fixes https://github.com/harfbuzz/harfbuzz/issues/4598
2024-02-24 15:12:42 +01:00
Behdad Esfahbod 5d1ff191c0 Fix return type
https://github.com/harfbuzz/harfbuzz/commit/1bddeb974ff0c08332c8225f6f5b5bd45bcddfdc#r138731107
2024-02-20 06:30:59 +01:00
Bruce Mitchener 582a5b3a92 cmake: Switch to find_package(Python3).
The existing way of working used in this file was deprecated in
cmake 3.12 and a new way supplied.

See https://cmake.org/cmake/help/latest/policy/CMP0148.html
2024-02-19 20:10:04 +02:00
dependabot[bot] 20ddabc78b Bump fonttools from 4.48.1 to 4.49.0 in /.ci
Bumps [fonttools](https://github.com/fonttools/fonttools) from 4.48.1 to 4.49.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.48.1...4.49.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-02-19 12:00:53 +01:00
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](https://github.com/github/codeql-action/compare/e8893c57a1f3a2b659b6b55564fdfdbbd2982911...379614612a29c9e28f31f39a59013eb8012a51f0)

---
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](https://github.com/actions/upload-artifact/compare/26f96dfa697d77e81fd5907df203aa23a56210a8...5d5d22a31266ced268874388b861e4b58bb5c2f3)

---
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](https://github.com/github/codeql-action/compare/b7bf0a3ed3ecfa44160715d7c442788f65f0f923...e8893c57a1f3a2b659b6b55564fdfdbbd2982911)

---
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](https://github.com/codecov/codecov-action/compare/4fe8c5f003fae66aa5ebb77cfd3e7bfbbda0b6b0...e0b68c6749509c5f83f984dd99a76a1c1a231044)

---
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](https://github.com/codecov/codecov-action/compare/eaaf4bedf32dbdc6b720b63067d99c4d77d6047d...4fe8c5f003fae66aa5ebb77cfd3e7bfbbda0b6b0)

---
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](https://github.com/github/codeql-action/compare/0b21cf2492b6b02c465a3e5d7c473717ad7721ba...b7bf0a3ed3ecfa44160715d7c442788f65f0f923)

---
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](https://github.com/actions/upload-artifact/compare/694cdabd8bdb0f10b2cea11669e1bf5453eed0a6...26f96dfa697d77e81fd5907df203aa23a56210a8)

---
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](https://github.com/hendrikmuhs/ccache-action/compare/2a51777f6f64b7b7bea213601acba8f5f4fdbe03...faf867a11c028c0b483fb2ae72b6fc8f7d842714)

---
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](https://github.com/github/codeql-action/compare/e5f05b81d5b6ff8cfa111c80c22c5fd02a384118...0b21cf2492b6b02c465a3e5d7c473717ad7721ba)

---
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](https://github.com/actions/upload-artifact/compare/1eb3cb2b3e0f29609092a73eb033bb759a334595...694cdabd8bdb0f10b2cea11669e1bf5453eed0a6)

---
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](https://github.com/actions/upload-artifact/compare/c7d193f32edcb7bfad88892161225aeda64e9392...1eb3cb2b3e0f29609092a73eb033bb759a334595)

---
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](https://github.com/github/codeql-action/compare/012739e5082ff0c22ca6d6ab32e07c36df03c4a4...e5f05b81d5b6ff8cfa111c80c22c5fd02a384118)

---
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