Commit Graph
17086 Commits
Author SHA1 Message Date
Behdad Esfahbod 330c32f902 [graph] Another preallocation 2023-11-10 12:27:48 -07:00
Behdad Esfahbod 9c4d3c3c70 [graph] Pre-alloc priority-heap array 2023-11-10 12:26:02 -07:00
Behdad Esfahbod 29f8d9f795 [gen-use-table] Fix __doc__ 2023-11-10 12:26:02 -07:00
خالد حسني (Khaled Hosny) aaf632581a Merge pull request #4492 from dalboris/fix-cmake-darwin-library-location
[cmake] Fix double dots in CMake library location on macOS
2023-11-10 17:28:48 +02:00
Boris Dalstein 32ee89dd48 [cmake] Fix double dots in CMake library location on macOS 2023-11-10 13:48:24 +01:00
Qunxin Liu 2d001a0adc [subset] OTS doesn't allow ligature attachment offset to be 0 2023-11-08 14:10:06 -07:00
Behdad Esfahbod 0cbbed57e3 [README] Add Godot Engine 2023-11-07 09:51:46 -07:00
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 https://github.com/skef/harfbuzz/commit/3ae2fe2084d96f61d8ad1bbe42a6ef4e62ec830a 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 https://github.com/fonttools/fonttools/commit/f1e56cd757ed457ffd3b58c262d3f4c2e4586555
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