Garret Rieger
9701b0024e
[subset] Always place CFF1/2 char strings at the end of the packed table.
...
Makes the behaviour from HB_SUBSET_FLAGS_IFTB_REQUIREMENTS the default.
2023-11-06 16:49:09 -07:00
Garret Rieger
c6884377ec
[subset] Add HB_SUBSET_FLAGS_IFTB_REQUIREMENTS flag.
...
When enabled the output subset conforms to the requirements for a base font to be patched by IFTB patches. IFTB is a proposed incremental font transfer patch. This new flag is set as experimental. Currently, setting this flag causes the output subset to also use long offsets for outline data in loca/glyf, gvar, CFF, and CFF2.
This change is a version of 3ae2fe2084
rebased onto head w/ tests added.
2023-11-06 16:49:09 -07:00
Behdad Esfahbod
c3c32b0176
Add xkcd.png
2023-11-06 13:25:42 -07:00
Qunxin Liu
c2f42fbb14
fix meson compiled_tests
2023-11-06 13:12:04 -07:00
Qunxin Liu
d550e16acc
[instancer] Recalc avgcharwidth after instancing
2023-11-06 13:12:04 -07:00
Behdad Esfahbod
d053426bb4
Format
2023-11-06 11:44:14 -07:00
Behdad Esfahbod
2f528ce4ed
Tweak a couple more barriers
2023-11-06 11:40:19 -07:00
Behdad Esfahbod
f31fb43155
Remove a couple unnecessary barriers
2023-11-06 11:29:30 -07:00
Behdad Esfahbod
d10cc79a6c
Move a couple of barriers
2023-11-06 10:41:46 -07:00
Qunxin Liu
80cb6b580f
[instancer_solver] port solver fix: where axisDef < lower and upper < axisMax
...
Port from f1e56cd757
2023-11-06 10:06:26 -07:00
dependabot[bot]
64305568d7
Bump fonttools from 4.43.1 to 4.44.0 in /.ci
...
Bumps [fonttools](https://github.com/fonttools/fonttools ) from 4.43.1 to 4.44.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.43.1...4.44.0 )
---
updated-dependencies:
- dependency-name: fonttools
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-11-06 08:30:09 -07:00
Behdad Esfahbod
920c40cd43
Merge pull request #4480 from harfbuzz/sanitize-barrier-properly
...
Sanitize barrier properly
https://github.com/harfbuzz/harfbuzz/pull/4480
2023-11-05 07:05:47 -07:00
Behdad Esfahbod
36f5e654a6
[circleci] Roll back msan/tsan ubuntu image
...
Job gets stuck at compiling with the newer image :(.
2023-11-04 16:17:32 -06:00
Behdad Esfahbod
6ff0932722
[circleci] Roll images
2023-11-04 15:42:13 -06:00
Behdad Esfahbod
7ee7e2e340
[sanitize] Add remaining hb_barrier() annotations
...
I'm sure I've forgot some. But this is a good start.
2023-11-04 15:21:47 -06:00
Behdad Esfahbod
3a9262cc3d
[sanitize] More hb_barrier() annotations
2023-11-04 15:21:47 -06:00
Behdad Esfahbod
30672c7e75
Add hb_barrier()
...
And annotate some more.
2023-11-04 15:21:47 -06:00
Behdad Esfahbod
775320a4f6
[sanitize] Add barriers to runtime-checked values
2023-11-04 15:21:47 -06:00
Behdad Esfahbod
cf49f3f2cb
[sanitize] Add barrier()
2023-11-04 15:21:47 -06:00
Behdad Esfahbod
b16f180044
[sanitize] Yet another hack to "fix" barrier issue
2023-11-04 15:21:47 -06:00
Behdad Esfahbod
fd5eb10d3b
Merge pull request #4477 from googlefonts/fix_feature_variations
...
[instancer] Fix feature variations collect lookups
2023-11-03 15:30:15 -06:00
Behdad Esfahbod
cdcad93b73
[set] Mark as realloc-movable
2023-11-03 12:46:20 -06:00
Qunxin Liu
6baf791e6f
[instancer] add tests
2023-11-03 11:06:07 -07:00
Qunxin Liu
aca55dbe36
[instancer] fix feature variations collect lookups
...
We already know which record to keep, so just collect lookups and no
need to check the substitutes_map
2023-11-03 10:51:37 -07:00
Behdad Esfahbod
7766e67b33
Merge pull request #4474 from googlefonts/fix_value_format
...
[instancer] fix value format for SinglePos/PairPos when strip_hints is on
2023-11-03 11:38:21 -06:00
Qunxin Liu
f05636e1be
[instancer] fix build issue after rebase
2023-11-03 10:27:40 -07:00
Qunxin Liu
31b5b2b1d7
[instancer] add tests for valueformat
2023-11-03 10:27:33 -07:00
Qunxin Liu
6c017a1162
[instancer] SinglePos/PairPos: do not strip_hints for partial instancing
2023-11-03 10:27:07 -07:00
Qunxin Liu
413af0a9b2
[instancer] When partial instancing, subset LigCaretList after VarStore instantiation
2023-11-03 10:24:56 -06:00
Behdad Esfahbod
f57c64d825
[ci] Try fixing msvc builds again
...
https://gitlab.gnome.org/GNOME/glib/-/issues/3134
2023-11-02 11:21:44 -06:00
Behdad Esfahbod
724360813b
[ci] Roll lxml forward
...
Should help fixing the msvc fails.
2023-11-02 11:01:49 -06:00
Behdad Esfahbod
b532945987
[tuple_delta_t] Micro-optimize encoding vector access
2023-11-01 16:53:26 -06:00
Behdad Esfahbod
59cfb4c570
[instancing] Micro-optimize a loop
2023-11-01 16:25:50 -06:00
Behdad Esfahbod
29d49eced8
[vector] Introduce realloc_moves tag
...
Some types (even aggregate) can be moved using realloc().
Extend the fast path to hb_hashmap and tuple_delta_t.
2023-11-01 15:55:47 -06:00
Garret Rieger
7b46d772c4
[instancer] Update help message for --instance.
...
Remove note about partial instancing not being supported. Add --variations flag as an alternate name for --instance. This matches other hb utils.
2023-11-01 14:56:47 -06:00
Behdad Esfahbod
9d0bc085ee
Merge pull request #4469 from harfbuzz/typed-offsets
...
Typed offsets
2023-10-31 22:25:07 -06:00
Behdad Esfahbod
2804127ac9
[Value] Typed offsets
2023-10-31 15:30:20 -06:00
Behdad Esfahbod
38546acd83
[typed-offset] Fix sanitize()
2023-10-31 14:56:09 -06:00
Behdad Esfahbod
62117801b8
[AnchorMatrix] Annotate offset base type
2023-10-31 14:50:45 -06:00
Behdad Esfahbod
4f219385a6
[CursivePosFormat1] Use typed offsets for EntryExitRecord
2023-10-31 14:33:23 -06:00
Behdad Esfahbod
b37cc61d45
Add base types to OffsetTo<>
...
Unused so far.
2023-10-31 14:33:19 -06:00
Qunxin Liu
f6f35f73bc
[instancer] add tests for feature variations partial instancing
2023-10-30 12:31:49 -06:00
Qunxin Liu
091e538daf
[instancer] support partial instancing for FeatureVariations
2023-10-30 12:31:49 -06:00
dependabot[bot]
e5040c2352
Bump ossf/scorecard-action from 2.3.0 to 2.3.1
...
Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action ) from 2.3.0 to 2.3.1.
- [Release notes](https://github.com/ossf/scorecard-action/releases )
- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md )
- [Commits](483ef80eb9...0864cf1902
)
---
updated-dependencies:
- dependency-name: ossf/scorecard-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-10-30 09:42:58 -06:00
dependabot[bot]
16a76829f7
Bump github/codeql-action from 2.22.4 to 2.22.5
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 2.22.4 to 2.22.5.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](49abf0ba24...74483a38d3
)
---
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-10-30 09:42:49 -06:00
Behdad Esfahbod
bf08205625
[deprecated] Add a mis-spelled macro
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/4464
2023-10-27 12:24:33 -06:00
Behdad Esfahbod
598de82f3a
[hb-subset] Fix warning
2023-10-27 12:13:13 -06:00
Behdad Esfahbod
9fc45f70ad
[ReverseChainSingleSubst] Minor optimization
2023-10-23 13:08:29 -06:00
dependabot[bot]
156de3c048
Bump meson from 1.2.2 to 1.2.3 in /.ci
...
Bumps [meson](https://github.com/mesonbuild/meson ) from 1.2.2 to 1.2.3.
- [Release notes](https://github.com/mesonbuild/meson/releases )
- [Commits](https://github.com/mesonbuild/meson/compare/1.2.2...1.2.3 )
---
updated-dependencies:
- dependency-name: meson
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-10-23 10:03:47 -06:00
dependabot[bot]
d7cd687b74
Bump github/codeql-action from 2.22.3 to 2.22.4
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 2.22.3 to 2.22.4.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](0116bc2df5...49abf0ba24
)
---
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-10-23 10:02:58 -06:00