Commit graph

17219 commits

Author SHA1 Message Date
Garret Rieger
79eaa217ac [repacker] remove unused include. 2024-03-14 21:22:22 +00:00
Garret Rieger
025f52769f [repacker] fix mem leak in test-classdef-graph test. 2024-03-09 00:32:36 +00:00
Garret Rieger
01fc4a162f [repacker] Fix repacker test.
With class def size estimation changes this test is now able to pack closer to the limit.
2024-03-09 00:06:54 +00:00
Garret Rieger
8e1beefe05 [repacker] small fixes. 2024-03-08 22:05:20 +00:00
Garret Rieger
17b37f10d5 [repacker] add classdef size est. test that you can add the same class multiple times. 2024-03-08 22:01:05 +00:00
Garret Rieger
0ac9e7da39 [repacker] in classdef estimator tests compare results to actual class def serialization.
Fix the estimator to actually match real serialization sizes.
2024-03-08 21:53:10 +00:00
Garret Rieger
8129b21dea Update classdef size estimator to pick the min coverage format.
Previously this just assumed a worst case format 1.
2024-03-08 20:15:43 +00:00
Garret Rieger
252a926fbf [repacker] Rework how ClassDef sizes are estimated during splitting.
The old approach considered only one class at a time, which in some cases can generate the wrong answer. This change updates the estimation to consider how all classes in the current split would end up encoded in a single ClassDef table. Additionally compute whether glyphs are consecutive only for the current split (instead of the fully mapping).
2024-03-08 19:46:48 +00:00
Qunxin Liu
d6431dc7e6 [instancer] support *=drop, which would pin all axis to default location 2024-03-07 12:24:43 -07:00
Behdad Esfahbod
06749fa481 [icu] Use uscript_getCode() 2024-03-04 11:25:44 -07:00
dependabot[bot]
f1464efb78 Bump codecov/codecov-action from 4.0.1 to 4.1.0
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 4.0.1 to 4.1.0.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](e0b68c6749...54bcd8715e)

---
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-03-04 06:46:14 -07:00
dependabot[bot]
cbc3c539cc Bump github/codeql-action from 3.24.5 to 3.24.6
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.24.5 to 3.24.6.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](47b3d888fe...8a470fddaf)

---
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-03-04 06:45:53 -07:00
L. E. Segovia
6864769c4d [meson] Block uses of hb-static throughout Microsoft compilers
PE-COFF cannot export extern, non-dllexport symbols.
2024-02-28 01:23:14 +00:00
خالد حسني (Khaled Hosny)
61d57be176 Revert "Bump gcovr from 5.0 to 7.2 in /.ci"
This reverts commit 58c6dba9cd.
2024-02-26 17:08:51 +02:00
Behdad Esfahbod
05d43963fa Revert "Bump codecov/codecov-action from 4.0.1 to 4.0.2"
This reverts commit 52ecdd269c.
2024-02-26 11:00:58 +00:00
dependabot[bot]
52ecdd269c Bump codecov/codecov-action from 4.0.1 to 4.0.2
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 4.0.1 to 4.0.2.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](e0b68c6749...0cfda1dd0a)

---
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-02-26 11:38:57 +01:00
dependabot[bot]
49dbf4eaf9 Bump github/codeql-action from 3.24.3 to 3.24.5
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.24.3 to 3.24.5.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](379614612a...47b3d888fe)

---
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-26 11:38:49 +01:00
dependabot[bot]
58c6dba9cd Bump gcovr from 5.0 to 7.2 in /.ci
Bumps [gcovr](https://github.com/gcovr/gcovr) from 5.0 to 7.2.
- [Release notes](https://github.com/gcovr/gcovr/releases)
- [Changelog](https://github.com/gcovr/gcovr/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/gcovr/gcovr/compare/5.0...7.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-26 11:38:43 +01:00
dependabot[bot]
4d8773bd81 Bump setuptools from 69.1.0 to 69.1.1 in /.ci
Bumps [setuptools](https://github.com/pypa/setuptools) from 69.1.0 to 69.1.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/v69.1.0...v69.1.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-26 11:38:34 +01:00
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
1bddeb974f (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](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