Behdad Esfahbod
2d7de7ce50
[set] Speed up next_range()
2023-11-13 18:35:04 -07:00
Behdad Esfahbod
6a3ca37373
[map] Optimize storage
...
Such that population isn't a bitfield as we access it often.
2023-11-13 16:36:56 -07:00
Khaled Hosny
894a1f72ee
8.3.0
2023-11-11 16:07:57 +02:00
Behdad Esfahbod
2b5af6f42e
[subset-plan] Micro-optimize set iteration
...
Getting ranges is faster even with the current trivial implementation.
2023-11-10 15:23:27 -07:00
Behdad Esfahbod
90fc809f15
[set] Minor likely and __prev__
2023-11-10 15:05:08 -07:00
Behdad Esfahbod
6d3b7931fd
[subset-plan] Add a couple of allocs
2023-11-10 14:51:34 -07:00
Behdad Esfahbod
d46cd93b6a
[map] Speed up copy-constructor
2023-11-10 14:36:37 -07:00
Behdad Esfahbod
e7879d6c55
[map] Micro-optimize destruction
2023-11-10 14:13:20 -07:00
Behdad Esfahbod
d9357a1a67
[cmap] Speed up Format12/13 collect_mapping
2023-11-10 14:08:03 -07:00
Behdad Esfahbod
ae6ea6f4b7
[cmap] Micro-optimize
2023-11-10 13:52:34 -07:00
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
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
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
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
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
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
Qunxin Liu
f05636e1be
[instancer] fix build issue after rebase
2023-11-03 10:27:40 -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
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
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
091e538daf
[instancer] support partial instancing for FeatureVariations
2023-10-30 12:31: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
9fc45f70ad
[ReverseChainSingleSubst] Minor optimization
2023-10-23 13:08:29 -06:00
一丝
b0150ffd05
[subset] keep East Asian spacing vhal, halt, chws, vchw by default
...
Closes: https://github.com/harfbuzz/harfbuzz/issues/4451
2023-10-20 10:18:58 -06:00
Behdad Esfahbod
fde1c3692a
Merge pull request #4452 from googlefonts/fix_test
...
[subset] bug fixes for GDEF
2023-10-19 11:04:34 -06:00
Qunxin Liu
e595fe75cc
fix bots
...
partial instancing tests are wrapped by experimenal_api, do not enable
them in Makefile
2023-10-19 09:38:38 -07:00