Qunxin Liu
7741fa3299
[instancer] bug fix: dont add duplicate rows into delta_row_encoding_t
...
Also fix compile_varidx_map()
1 year ago
Qunxin Liu
6c658b4105
[instancer] bug fix
1 year ago
Qunxin Liu
11cc479646
[instancer] fix columns and get_chars_overhead() in delta_row_encoding_t
...
make columns a vector of uint8_t so it supports more than 32 columns
1 year ago
Qunxin Liu
6e49128afd
[instancer] always check and update default wght/width/slnt if necessary
...
Sometimes default values in original file are incorrect, and if default value for an axis is not changed, then these values won't be updated
1 year ago
Qunxin Liu
7b5daff5eb
[instancer] add tests for mvar partial instancing
1 year ago
Qunxin Liu
45c2d05d00
[instancer] add subset() for MVAR
1 year ago
Qunxin Liu
e4e1ac44f0
[instancer] add serialize() for VariationStore
...
Input region_list and encoding_rows are from item_variations_t
1 year ago
Qunxin Liu
2326879229
[instancer] add serialize() for VarRegionList
...
The region list argument comes from item_variations_t.get_region_list()
1 year ago
Qunxin Liu
b153af8553
[instancer] add optimize(), which optimizes varstore's storage
1 year ago
Qunxin Liu
3565ad8150
[instancer] add build_region_list() method
1 year ago
Qunxin Liu
e4db29b102
[instancer] add instantiate() method
...
Also make change_tuple_variations_axis_limits() deterministic, use
sorted vector instead of iterating map keys
1 year ago
Qunxin Liu
5f058a9338
[instancer] add create_from_item_varstore () method
1 year ago
Qunxin Liu
152448881f
[instancer] add struct definition item_variations_t
...
And struct delta_row_encoding_t
1 year ago
Khaled Hosny
0967a3e24a
8.2.1
1 year ago
dependabot[bot]
eab4e07d6c
Bump github/codeql-action from 2.21.5 to 2.21.7
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 2.21.5 to 2.21.7.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](00e563ead9...04daf014b5
)
---
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
Behdad Esfahbod
609a7cc534
Merge pull request #4406 from harfbuzz/unicode-15.1
...
Update to Unicode 15.1.0
1 year ago
David Corbett
c459b8a51a
[Unicode 15.1] Add tests
1 year ago
David Corbett
c6d53ab570
[Unicode 15.1] Update the vowel constraint table
1 year ago
David Corbett
f318e104be
[Unicode 15.1] Update the Indic table
1 year ago
David Corbett
c03e4c10a4
[Unicode 15.1] Update emoji table and cluster test
1 year ago
David Corbett
d8d4a192bd
Update IANA Language Subtag Registry to 2023-08-02
1 year ago
David Corbett
6ed6ccac4c
[Unicode 15.1] Update the USE table
1 year ago
David Corbett
f485b6a9c0
[Unicode 15.1] Update the Arabic joining script list
1 year ago
David Corbett
f15fe52442
[Unicode 15.1] Update the Arabic table
1 year ago
David Corbett
b3705cbf07
[Unicode 15.1] Update the UCD table
1 year ago
David Corbett
767f937833
[USE] Update the data files
...
This uses the data files from
<9e02b86c85/USE
>
and closes #4404 .
1 year ago
David Corbett
02c2e24749
Regenerate files using Ragel 6.10
1 year ago
dependabot[bot]
37457412b3
Bump actions/checkout from 3.5.3 to 4.0.0
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3.5.3 to 4.0.0.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](c85c95e3d7...3df4ab11eb
)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
1 year ago
dependabot[bot]
7384aaae43
Bump actions/upload-artifact from 3.1.2 to 3.1.3
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 3.1.2 to 3.1.3.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](0b7f8abb15...a8a3f3ad30
)
---
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>
1 year ago
Behdad Esfahbod
978918c32a
[aat] Simplify complex condition
...
Based on https://github.com/RazrFalcon/rustybuzz/discussions/79#discussioncomment-6960324
1 year ago
Vincent Torri
17ee3cd7f4
fix warning with unsigned long
1 year ago
Khaled Hosny
c1eb66d415
8.2.0
1 year ago
L. E. Segovia
d5cb1a3153
[meson] Add gitignore entries for wrap sources
1 year ago
L. E. Segovia
617e447854
[meson] Set C++14 as minimum as implied by MSVC support
...
Microsoft's STL uses C++14 as minimum. Using C++11 is actually enforced
by clang-cl and clang, which will lead to all sorts of compilation
errors.
1 year ago
L. E. Segovia
15bc9e342f
[meson] Detect Microsoft compilers through _MSC_FULL_VER
...
Microsoft ships three compilers nowadays: MSVC, clang-cl, and Clang.
The latter is always skipped by `compiler.get_argument_syntax()`,
which leads to the incorrect export macro being applied.
This commit also removes the tests that are affected in Microsoft Clang.
1 year ago
Qunxin Liu
fd3eb2c672
fuzzer fix: https://oss-fuzz.com/testcase-detail/6032126569742336
1 year ago
Behdad Esfahbod
0340ba1c50
[bit-page] Add a few operators
1 year ago
dependabot[bot]
a0b758f7d7
Bump github/codeql-action from 2.21.4 to 2.21.5
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 2.21.4 to 2.21.5.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](a09933a12a...00e563ead9
)
---
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
Ben Wagner
4cfc6d8e17
Specify tuple_variations_t special member functions
...
Building with clang complains about the use of `tuple_variations_t`'s
implicit copy constructor and copy assignment operator, since automatic
generation of these is deprecated when declaring a non-default
destructor. This is a good warning because it isn't obvious that copies
were being made instead of the object being moved and this struct should
be moved and not copied. Declare all the special member functions,
defaulting the moves and deleting the copies.
After making `tuple_variations_t` move only, an issue is revealed in
`hb_vector_t::push` which has been requiring that objects be copyable.
Remove the old non-emplacing `push` now that this works with all
existing objects and make a single `push` which is more like
`std::vector::emplace_back` since that is somewhat what the newer `push`
is attempting to do.
1 year ago
Benoit Pierre
4668b43e2c
[meson] add source fallback URL to freetype2 wrap
1 year ago
Garret Rieger
8d22a57065
[repacker] fix potential use after free in repacker.
...
During table splitting we iterate over the lookups map which can be modified during table splitting. This can result in a use after free in the iterator. Create a local copy of the lookup indices to avoid this.
1 year ago
Garret Rieger
a1f034eaac
[repacker] fix fuzzer failure.
...
Fixes: https://oss-fuzz.com/testcase-detail/6490945267564544
1 year ago
Bruce Mitchener
f380a32825
Fix some typos.
1 year ago
Garret Rieger
c28fdc39b2
[repacker] fix bot failure.
1 year ago
Garret Rieger
d7ee328f80
[repacker] include the size of all lookup tables in the layer size estimates from the start.
...
In extension promotion previously we incrementally added the contribution of the lookup table to the layer size estimates as the lookups were processed. However, this isn't quite correct as regardless of the promotion decision the full lookup table size will be incurred. So the size should be added to the initial sizes.
1 year ago
Garret Rieger
5587247d5b
[repacker] create only one extension subtable per physical subtable.
...
During extension promotion when multiple lookups refer to a shared subtable node create and reuse a single extension subtable for it. Fixes: https://github.com/fonttools/fonttools/issues/3260 .
1 year ago
Behdad Esfahbod
56e8a29032
Fix static_size declaration
...
I have a vague memory that it was intentionally written
that way, but I can't recall :-(.
1 year ago
Behdad Esfahbod
2023384bdf
Merge pull request #4368 from googlefonts/support_gvar
...
Initial implementation for gvar partial instancing
1 year ago
Qunxin Liu
dd8d35766b
[instancer] enable partial instancing tests when experimental api is on
1 year ago
dependabot[bot]
970d2c438f
Bump github/codeql-action from 2.21.3 to 2.21.4
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 2.21.3 to 2.21.4.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](5b6282e01c...a09933a12a
)
---
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