Behdad Esfahbod
9a7afe922b
[perf] Benchmark glyph painting
2 years ago
Behdad Esfahbod
077c4308cc
[limits] Increase COLRv1 edge-count
...
We have a "pixel" color font that was easily hitting the limit...
2 years ago
Behdad Esfahbod
45c1ad0512
[paint] Add tracing
2 years ago
Behdad Esfahbod
483bc0a384
[arabic/stch] Center the stretched group over the digits
...
Mostly relevant when there's one digit only.
https://github.com/harfbuzz/harfbuzz/issues/4369#issuecomment-1670361856
2 years ago
Behdad Esfahbod
9daef6ed4e
[arabic] Add test for previous commit
2 years ago
Behdad Esfahbod
313c772989
[arabic/stch] Also work in left-to-right direction
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/4369
2 years ago
Behdad Esfahbod
40bfabd1f9
[arabic/stch] Zero advances
...
This was working for our test suite because those glyphs were
declared mark and their advances zeroed automatically. But is
not the case in eg. the font posted at:
https://github.com/harfbuzz/harfbuzz/issues/4369
2 years ago
Qunxin Liu
0aa5dafefd
fix bots.
...
-Also disable partial instancing tests for now, cause the command option
is wrapped by experimental_api
2 years ago
Qunxin Liu
77b158c72d
[instancer] add tests for gvar partial instancing
2 years ago
Qunxin Liu
32cfa37e2e
[instancer] command line support for partial instancing
...
-Also updated hb_subset_input_set_axis_range (), so user can define
default value as well
2 years ago
Qunxin Liu
0065658e96
[instancer] enable cvar instancing code
2 years ago
dependabot[bot]
0ba4d539b3
Bump fonttools from 4.41.1 to 4.42.0 in /.ci ( #4365 )
...
Bumps [fonttools](https://github.com/fonttools/fonttools ) from 4.41.1 to 4.42.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.41.1...4.42.0 )
---
updated-dependencies:
- dependency-name: fonttools
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years ago
Qunxin Liu
366ffd1ef0
[instancer] fix move constructor for tuple_delta_t
2 years ago
Qunxin Liu
1d91622ddf
[instancer] add a hashing impl for floating point type
2 years ago
Qunxin Liu
5a4694b693
[instancer] add calc_inferred_deltas() for gvar
2 years ago
Qunxin Liu
fb44727401
[instancer] add instantiate () for gvar
2 years ago
Qunxin Liu
746b112faf
[instancer] add serialize () for gvar
2 years ago
Qunxin Liu
3c86b096a9
[instancer] Add instantiate () and compile_bytes() for gvar
...
-Also add support for using shared_points and shared_tuples
2 years ago
Qunxin Liu
198612c1c8
[instancer] add decompile_glyph_variations () for gvar
2 years ago
Qunxin Liu
eb116e163e
[instancer] Add new_gid->contour_points vector map in subset plan
...
- Add an API in Glyph to export original contour_points vector, which is
needed by infer_deltas when merging tuple variations with the same
tent
2 years ago
Qunxin Liu
a0f810effc
[instancer] add struct glyph_variations_t for gvar
...
-Add compile_peak_coords () in tuple_delta_t
-Add compile_shared_tuples () for glyph_variations_t
2 years ago
Bruce Mitchener
cb92210b4c
Improve Markdown formatting. ( #4366 )
2 years ago
Behdad Esfahbod
49dbe0cd30
Another try
2 years ago
Behdad Esfahbod
483d4a8741
Fix bot
2 years ago
Behdad Esfahbod
7989702aba
Audit and fix up serialize_subset uses
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/4362
2 years ago
Khaled Hosny
1d665c2b52
8.1.1
2 years ago
Behdad Esfahbod
91c449a64a
[graph] Make space_for non-recursive
...
It was tail-recursive so perhaps the compiler did the same.
Anyway, make it explicit now.
2 years ago
Behdad Esfahbod
dcd3afcabf
[skippy-iter] Remove unused num_items
2 years ago
Behdad Esfahbod
5b337130e2
Add test for previous commit
2 years ago
Behdad Esfahbod
39048099cb
[skippy-iter] Remove early stop
...
The optimization in (Chain)RuleSet matching relies on
matching one, even if num_items is out of range.
Fixes https://github.com/harfbuzz/harfbuzz/issues/4358
2 years ago
Behdad Esfahbod
70b3fbed28
[graph] Fix invalid read when map gets resized
...
I don't fully understand how the old code was wrong, since
*v should be evaluated before the set() method call.
Yet this seems to fix a bug that could be reproduced
with HB_DEBUG_SUBSET_REPACK enabled and the following:
$ hb-repacker-fuzzer test/fuzzing/graphs/clusterfuzz-testcase-minimized-hb-repacker-fuzzer-6419865171525632
2 years ago
Behdad Esfahbod
94d4283b12
[graph] Handle a malloc fail
...
Fixes https://oss-fuzz.com/testcase-detail/4579249263345664
2 years ago
Behdad Esfahbod
603920e911
[graph] Minor asserts
2 years ago
Behdad Esfahbod
8d00476fbf
[graph] Minor restructure a condition
2 years ago
Behdad Esfahbod
7946984b96
[graph] More assert
2 years ago
Behdad Esfahbod
3b386c3773
[graph] Minor assert
2 years ago
Behdad Esfahbod
07e7033076
[graph] Error check
2 years ago
Behdad Esfahbod
7a9aac1ae3
[graph] Fixes to parent handling
2 years ago
Behdad Esfahbod
2feac50b40
Revert "[gsubgpos] Keep another digest in the applicable_t"
...
This reverts commit fd79c7cecd
.
2 years ago
Behdad Esfahbod
fd79c7cecd
[gsubgpos] Keep another digest in the applicable_t
...
The digest for all the remaining subtables combined.
The idea is to get out of the subtable look as soon as
no more can be applied.
Doesn't seem to speed up anything I tested. Going to revert.
2 years ago
Behdad Esfahbod
e3fd69c889
[layout] Inline another function
...
Code is smaller too.
2 years ago
Behdad Esfahbod
9cdc043c16
[Cursive] Only sanitize what we use
2 years ago
Behdad Esfahbod
25e9defa51
[sanitize] Inline check_struct
...
Though seems like the compiler was always inlining it anyway.
2 years ago
Behdad Esfahbod
44026aa8a9
[Cursive] Minor, adjust unsafe-to-concat if prev didn't sanitize
2 years ago
Behdad Esfahbod
b382e616cc
[GPOS] Sanitize Cursive positioning anchors lazily
...
Speeds up Duployan-Regular.otf load time by 30%.
Doesn't seem to slow down shaping in a measurable way.
2 years ago
Khaled Hosny
fcb9e5915f
8.1.0
2 years ago
dependabot[bot]
847e4a7607
Bump github/codeql-action from 2.21.0 to 2.21.2 ( #4352 )
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 2.21.0 to 2.21.2.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](1813ca74c3...0ba4244466
)
---
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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years ago
Behdad Esfahbod
db608229d1
[README] Update
2 years ago
Behdad Esfahbod
59f5f26515
[ci/msys] Don't install freetype ( #4354 )
...
* [ci/msys] Try deleting system harfbuzz DLL
2 years ago
Behdad Esfahbod
bd84458a95
[ci] Try uploading msys artefacts ( #4353 )
...
* [ci] Try uploading msys artefacts
* [ci] Always upload DLLs from msys2
* [ci] Rename artifacts
* Another try
2 years ago