Qunxin Liu
1a5dd610be
[instancer] retain empty rows when region is empty and item_count is not
1 year ago
David Manthey
45a7f9cec3
Change the shebang used for python
...
The shebang `/usr/bin/python3` assumes python3 is installed in /usr/bin,
which isn't always true (e.g., in the manylinux docker image). Using
`/usr/bin/env python3` uses the python3 that is in the path, which is
more flexible.
1 year ago
Khaled Hosny
18a6e78549
8.2.2
1 year ago
Garret Rieger
52bc78e70d
s/PairPos/MarkBasePos/ in MarkBasePos repacking implementation.
1 year ago
Behdad Esfahbod
6190bb0b8e
[layout] Change order of feature collection
...
See comments for rationale.
Fixes https://github.com/harfbuzz/harfbuzz/issues/4445
1 year ago
dependabot[bot]
4992456cfa
Bump ninja from 1.11.1 to 1.11.1.1 in /.ci
...
Bumps [ninja](https://github.com/ninja-build/ninja ) from 1.11.1 to 1.11.1.1.
- [Release notes](https://github.com/ninja-build/ninja/releases )
- [Commits](https://github.com/ninja-build/ninja/commits )
---
updated-dependencies:
- dependency-name: ninja
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
1 year ago
dependabot[bot]
397b32e585
Bump github/codeql-action from 2.22.0 to 2.22.3
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 2.22.0 to 2.22.3.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](2cb752a87e...0116bc2df5
)
---
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>
1 year ago
Qunxin Liu
1f395cbaf9
[instancer] templatize the priority queue, use custom type for varstore
...
when instantiating varstore, we need to pop a tuple like
(combined_gain, i, j), if combined gain is the same then we compare the
value of i, and then j. So we'd like to use custom type as the key when
popping from the queue. This would match fonttool's algorithm cause it
uses heappop().
1 year ago
Garret Rieger
bbd53fcfa4
Remove glyph_map test that uses retain gids.
...
We no longer allow the use of glyph map + retain gids (see: https://github.com/harfbuzz/harfbuzz/blob/main/src/hb-subset-plan.cc#L817 ). Also add the test to the meson file so it will be run by default.
1 year ago
dependabot[bot]
9648799e53
Bump ossf/scorecard-action from 2.2.0 to 2.3.0
...
Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action ) from 2.2.0 to 2.3.0.
- [Release notes](https://github.com/ossf/scorecard-action/releases )
- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md )
- [Commits](08b4669551...483ef80eb9
)
---
updated-dependencies:
- dependency-name: ossf/scorecard-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
1 year ago
dependabot[bot]
cf930decce
Bump actions/setup-python from 4.7.0 to 4.7.1
...
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from 4.7.0 to 4.7.1.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](61a6322f88...65d7f2d534
)
---
updated-dependencies:
- dependency-name: actions/setup-python
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
1 year ago
dependabot[bot]
0cfc4ebfba
Bump github/codeql-action from 2.21.9 to 2.22.0
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 2.21.9 to 2.22.0.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](ddccb87388...2cb752a87e
)
---
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>
1 year ago
dependabot[bot]
a317b5a7ea
Bump fonttools from 4.43.0 to 4.43.1 in /.ci
...
Bumps [fonttools](https://github.com/fonttools/fonttools ) from 4.43.0 to 4.43.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.43.0...4.43.1 )
---
updated-dependencies:
- dependency-name: fonttools
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
1 year ago
Behdad Esfahbod
a7b3fe3523
Fix test
1 year ago
Behdad Esfahbod
fc563bb437
Merge pull request #4421 from googlefonts/GDEF_GPOS
...
[instancer] support GDEF/GPOS tables
1 year ago
dependabot[bot]
f26fd69d85
Bump github/codeql-action from 2.21.8 to 2.21.9
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 2.21.8 to 2.21.9.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](6a28655e3d...ddccb87388
)
---
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>
1 year ago
dependabot[bot]
1522eb9199
Bump fonttools from 4.42.1 to 4.43.0 in /.ci
...
Bumps [fonttools](https://github.com/fonttools/fonttools ) from 4.42.1 to 4.43.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.42.1...4.43.0 )
---
updated-dependencies:
- dependency-name: fonttools
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
1 year ago
dependabot[bot]
2d67e52a47
Bump meson from 1.2.1 to 1.2.2 in /.ci
...
Bumps [meson](https://github.com/mesonbuild/meson ) from 1.2.1 to 1.2.2.
- [Release notes](https://github.com/mesonbuild/meson/releases )
- [Commits](https://github.com/mesonbuild/meson/compare/1.2.1...1.2.2 )
---
updated-dependencies:
- dependency-name: meson
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
1 year ago
Khaled Hosny
6e06a193b3
Add some tests for hb_feature_[from|to]_string()
1 year ago
jfkthame
f360d704fa
Check for closing quote in parse_tag
...
Fixes #4414 .
1 year ago
Garret Rieger
333946b00e
[subset] Fix fuzzer timeout.
...
Fixes https://oss-fuzz.com/testcase-detail/5458896606855168 . Limit iteration over coverage in MarkLigPosFormat1 subsetting to the number of glyphs in the liga array.
1 year ago
Qunxin Liu
9ceb800ac2
fuzzer fix https://oss-fuzz.com/testcase-detail/5842152921628672
...
Access TupleVariationData through blob, because we don't sanitize
var_data
1 year ago
Behdad Esfahbod
7cb7a7999b
[map] Fix undefined integer-overflow
...
Fixes https://oss-fuzz.com/testcase-detail/5814850435284992
1 year ago
Qunxin Liu
2415d5f239
[instancer] update tests to include GDEF/GPOS tables
1 year ago
Qunxin Liu
f9b04b2145
[instancer] match fonttools'r order when calculating chars
...
Also fix a bug, make sure map set is happening before std::move
1 year ago
Qunxin Liu
f39e9bf1ed
[instancer] instantiate GPOS
...
Just need to update var_idxes and deltas
1 year ago
Qunxin Liu
5c6795e270
[instancer] make GPOS depend on GDEF when partial instancing
...
GPOS needs to wait for GDEF remapping layout var idxes
1 year ago
Qunxin Liu
c8594baa47
[instancer] instantiate GDEF varStore
...
And update layout var idxes accordingly
1 year ago
Qunxin Liu
77f24d822e
[instancer] remap layout var_idxes code update
...
make hb_collect_variation_indices_context_t only collect layout
variation indices.
1 year ago
Qunxin Liu
c8c97864e8
[instancer] simplify item_variations_t API calls
...
merge create,instantiate and as_item_varstore into one API
1 year ago
dependabot[bot]
00de5d0068
Bump actions/checkout from 4.0.0 to 4.1.0
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 4.0.0 to 4.1.0.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](3df4ab11eb...8ade135a41
)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
1 year ago
dependabot[bot]
42b8534b14
Bump github/codeql-action from 2.21.7 to 2.21.8
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 2.21.7 to 2.21.8.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](04daf014b5...6a28655e3d
)
---
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>
1 year ago
inobelar
69da5aae02
Added minor fixes to build without errors with gcc 4.9.2
1 year ago
Duncan Overbruck
b8121ccbb6
[meson] keep asserts in test programs
1 year ago
Qunxin Liu
5aa4865a86
[instancer] fix compile warnings
...
In constructor ‘OT::delta_row_encoding_t::delta_row_encoding_t(OT::delta_row_encoding_t&&)’,
inlined from ‘Type* hb_vector_t<Type, sorted>::push(Args&& ...) [with Args = {OT::delta_row_encoding_t}; Type = OT::delta_row_encoding_t; bool sorted = false]’ at ../src/hb-vector.hh:221:12,
inlined from ‘bool OT::item_variations_t::as_item_varstore(bool, bool)’ at ../src/hb-ot-var-common.hh:1985:24:
../src/hb-ot-layout-common.hh:2304:8: warning: ‘obj.OT::delta_row_encoding_t::width’ may be used uninitialized [-Wmaybe-uninitialized]
2304 | struct delta_row_encoding_t
| ^~~~~~~~~~~~~~~~~~~~
../src/hb-ot-var-common.hh: In member function ‘bool OT::item_variations_t::as_item_varstore(bool, bool)’:
../src/hb-ot-var-common.hh:1981:30: note: ‘obj.OT::delta_row_encoding_t::width’ was declared here
1981 | delta_row_encoding_t obj;
| ^~~
In constructor ‘OT::delta_row_encoding_t::delta_row_encoding_t(OT::delta_row_encoding_t&&)’,
inlined from ‘Type* hb_vector_t<Type, sorted>::push(Args&& ...) [with Args = {OT::delta_row_encoding_t}; Type = OT::delta_row_encoding_t; bool sorted = false]’ at ../src/hb-vector.hh:221:12,
inlined from ‘bool OT::item_variations_t::as_item_varstore(bool, bool)’ at ../src/hb-ot-var-common.hh:1985:24:
../src/hb-ot-layout-common.hh:2304:8: warning: ‘obj.OT::delta_row_encoding_t::overhead’ may be used uninitialized [-Wmaybe-uninitialized]
2304 | struct delta_row_encoding_t
| ^~~~~~~~~~~~~~~~~~~~
../src/hb-ot-var-common.hh: In member function ‘bool OT::item_variations_t::as_item_varstore(bool, bool)’:
../src/hb-ot-var-common.hh:1981:30: note: ‘obj.OT::delta_row_encoding_t::overhead’ was declared here
1981 | delta_row_encoding_t obj;
1 year ago
Behdad Esfahbod
4b3aa0104e
Merge pull request #4410 from googlefonts/HVAR_instance
...
[instancer] instantiate HVAR/VVAR
1 year ago
Thomas Petillon
da2c59d71f
[instancer] Delete redundant code block in cvar subsetting
...
That case is handled in hb-subset.cc.
It also made compilation with HB_NO_VAR fail because it accessed table.fvar.
1 year ago
Thomas Petillon
284889b031
[subset] Drop fvar, avar, cvar, MVAR tables when in HB_NO_VAR mode
1 year ago
Qunxin Liu
ef4ff1d6a4
[instancer] make varstore items sorting method match fonttool's
...
Also update expected tests
1 year ago
Qunxin Liu
b5f7ca1ab4
[instancer] fix bots
1 year ago
Qunxin Liu
5ec21d4af4
[instancer] fix delta_row_encoding_t constructor
...
always move chars_
1 year ago
Qunxin Liu
2d2818c096
[instancer] update expected tests to include HVAR/VVAR tables
1 year ago
Qunxin Liu
58e5d45de8
[instancer] instantiate HVAR/VVAR
1 year ago
Qunxin Liu
e81ad14dba
[instancer] change optimize() to as_item_varstore()
...
which allows another option to skip optimization
1 year ago
Qunxin Liu
97d0e7a19f
[instancer] add inner_maps as optional argument when creating item_variations_t
...
This allows that we create item_variations_t with only a subset of
the original varstore
1 year ago
Behdad Esfahbod
005582e0cb
Merge pull request #4370 from 2xsaiko/outgoing/cmake-now-for-real
...
Re-do and clean up CMake support, making it use relocatable paths
1 year ago
Marco Rebhan
da9b838910
Re-do and clean up CMake support, making it use relocatable paths
...
Closes #4025 .
1 year ago
Behdad Esfahbod
d698133743
Merge pull request #4393 from googlefonts/instantiate_item_varstore
...
[instancer] instantiate item varstore
1 year ago
Marco Rebhan
b5a1c2b483
Revert "Pass through absolute paths to cmake config directly"
...
This reverts commit db292f6f02
.
1 year ago
Qunxin Liu
c330c29175
[instancer] add a unit testcase for instantiating item variations
1 year ago