Behdad Esfahbod
56e8a29032
Fix static_size declaration
...
I have a vague memory that it was intentionally written
that way, but I can't recall :-(.
2023-08-22 15:50:55 -06:00
Behdad Esfahbod
2023384bdf
Merge pull request #4368 from googlefonts/support_gvar
...
Initial implementation for gvar partial instancing
2023-08-22 13:09:26 -07:00
Qunxin Liu
dd8d35766b
[instancer] enable partial instancing tests when experimental api is on
2023-08-22 12:54:50 -07:00
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>
2023-08-21 10:12:02 -07:00
dependabot[bot]
6c7aed1000
Bump fonttools from 4.42.0 to 4.42.1 in /.ci
...
Bumps [fonttools](https://github.com/fonttools/fonttools ) from 4.42.0 to 4.42.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.42.0...4.42.1 )
---
updated-dependencies:
- dependency-name: fonttools
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-08-21 10:11:43 -07:00
Garret Rieger
ca906e8747
[repacker] fix fuzzer timeout.
...
Corrects some mistakes in the handling of incoming_edges_ when memory allocation failures happen.
2023-08-17 12:01:44 -06:00
Behdad Esfahbod
c7f2d440f4
[hb-view] Better cairo version check
2023-08-16 09:55:23 -07:00
Behdad Esfahbod
e714e7d4f3
[hb-view] Work around old cairo
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/4378
2023-08-16 09:54:08 -07:00
Qunxin Liu
bea26446d2
[instancer] reference all points for gvar
...
If a point is not referenced and delta is not inferred, set delta to 0
2023-08-15 14:20:54 -07:00
Behdad Esfahbod
06ff3bcb8d
[COLR,glyf] Use map instead of set for tracking current glyphs / layers
2023-08-15 14:41:18 -06:00
Behdad Esfahbod
b530e485cd
[glyf] Don't recuse into alread-active composite glyphs
...
Deny loops.
2023-08-15 14:31:40 -06:00
Behdad Esfahbod
8f039ab4d6
[COLR] Avoid infinite-loop through PaintColrLayers
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/4376
Fixes https://oss-fuzz.com/testcase-detail/5717524023738368
2023-08-15 11:27:19 -06:00
Behdad Esfahbod
0c80aec10b
[COLR] Move cycle-detection to the renderer instead of cairo
...
Alternative fix for https://github.com/harfbuzz/harfbuzz/issues/4375
2023-08-15 10:30:38 -06:00
Behdad Esfahbod
21a894f055
[cairo] Protect against infinite loops
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/4375
Maybe we should do this in hb-ft and COLR instead?
2023-08-15 10:21:26 -06:00
Behdad Esfahbod
7d7541e35d
[test-paint] Print paint-color-glyph
2023-08-14 17:55:09 -06:00
Behdad Esfahbod
5560eb60d7
[paint] Fix docs
2023-08-14 17:05:22 -06:00
Behdad Esfahbod
47231bdc70
[COLR/cairo/ft] Fixups to paint-color-glyph and implement for hb-ft
2023-08-14 16:55:21 -06:00
Behdad Esfahbod
58effbcc4f
.
2023-08-14 16:47:36 -06:00
Behdad Esfahbod
74527670fc
[COLR/cairo] Add paint_color_glyph func
...
Implement in cairo to use scaled-font's glyph cache.
2023-08-14 16:22:06 -06:00
Behdad Esfahbod
8d19274c2d
[layout] Speed up VarStoreInstancer
2023-08-14 14:40:26 -06:00
dependabot[bot]
1da4c61550
Bump github/codeql-action from 2.21.2 to 2.21.3
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 2.21.2 to 2.21.3.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](0ba4244466...5b6282e01c
)
---
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>
2023-08-14 10:02:22 -06:00
dependabot[bot]
8d44562b42
Bump hendrikmuhs/ccache-action from 1.2.9 to 1.2.10
...
Bumps [hendrikmuhs/ccache-action](https://github.com/hendrikmuhs/ccache-action ) from 1.2.9 to 1.2.10.
- [Release notes](https://github.com/hendrikmuhs/ccache-action/releases )
- [Commits](ca3acd2731...6d1841ec15
)
---
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>
2023-08-14 10:02:14 -06:00
dependabot[bot]
a8fb56e0f3
Bump meson from 1.2.0 to 1.2.1 in /.ci
...
Bumps [meson](https://github.com/mesonbuild/meson ) from 1.2.0 to 1.2.1.
- [Release notes](https://github.com/mesonbuild/meson/releases )
- [Commits](https://github.com/mesonbuild/meson/compare/1.2.0...1.2.1 )
---
updated-dependencies:
- dependency-name: meson
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-08-14 10:02:02 -06:00
Behdad Esfahbod
e8eb1dc5ff
[parse_tag] Accept non-ALNUM in tag name
2023-08-09 15:35:59 -06:00
Behdad Esfahbod
9a7afe922b
[perf] Benchmark glyph painting
2023-08-09 12:00:41 -06:00
Behdad Esfahbod
077c4308cc
[limits] Increase COLRv1 edge-count
...
We have a "pixel" color font that was easily hitting the limit...
2023-08-09 10:41:04 -06:00
Behdad Esfahbod
45c1ad0512
[paint] Add tracing
2023-08-09 10:27:45 -06:00
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
2023-08-08 15:58:20 -06:00
Behdad Esfahbod
9daef6ed4e
[arabic] Add test for previous commit
2023-08-08 13:33:11 -06:00
Behdad Esfahbod
313c772989
[arabic/stch] Also work in left-to-right direction
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/4369
2023-08-08 13:06:12 -06:00
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
2023-08-08 12:17:25 -06:00
Qunxin Liu
0aa5dafefd
fix bots.
...
-Also disable partial instancing tests for now, cause the command option
is wrapped by experimental_api
2023-08-08 08:44:31 -07:00
Qunxin Liu
77b158c72d
[instancer] add tests for gvar partial instancing
2023-08-07 16:02:02 -07:00
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
2023-08-07 14:37:13 -07:00
Qunxin Liu
0065658e96
[instancer] enable cvar instancing code
2023-08-07 11:12:02 -07:00
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>
2023-08-07 11:49:03 -06:00
Qunxin Liu
366ffd1ef0
[instancer] fix move constructor for tuple_delta_t
2023-08-07 10:42:49 -07:00
Qunxin Liu
1d91622ddf
[instancer] add a hashing impl for floating point type
2023-08-07 10:42:49 -07:00
Qunxin Liu
5a4694b693
[instancer] add calc_inferred_deltas() for gvar
2023-08-07 10:42:49 -07:00
Qunxin Liu
fb44727401
[instancer] add instantiate () for gvar
2023-08-07 10:42:49 -07:00
Qunxin Liu
746b112faf
[instancer] add serialize () for gvar
2023-08-07 10:42:49 -07:00
Qunxin Liu
3c86b096a9
[instancer] Add instantiate () and compile_bytes() for gvar
...
-Also add support for using shared_points and shared_tuples
2023-08-07 10:42:49 -07:00
Qunxin Liu
198612c1c8
[instancer] add decompile_glyph_variations () for gvar
2023-08-07 10:42:49 -07:00
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
2023-08-07 10:42:49 -07:00
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
2023-08-07 10:42:48 -07:00
Bruce Mitchener
cb92210b4c
Improve Markdown formatting. ( #4366 )
2023-08-07 11:19:30 -06:00
Behdad Esfahbod
49dbe0cd30
Another try
2023-08-06 15:07:57 -06:00
Behdad Esfahbod
483d4a8741
Fix bot
2023-08-06 14:40:45 -06:00
Behdad Esfahbod
7989702aba
Audit and fix up serialize_subset uses
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/4362
2023-08-06 14:17:50 -06:00
Khaled Hosny
1d665c2b52
8.1.1
2023-08-02 23:48:22 +03:00