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
Behdad Esfahbod
d9c4d3edf0
[uniscribe] Fix warnings
2 years ago
Behdad Esfahbod
29ad9304e2
[layout] Minor add prealloc
2 years ago
Behdad Esfahbod
a41368bd7a
[buffer] Minor micro-optimize
2 years ago
Behdad Esfahbod
dc35a0fbcb
[ot-map] Speed up feature finding
...
New API:
- hb_ot_layout_collect_feature_map()
2 years ago
Behdad Esfahbod
ebdfa9838b
[perf] Measure freetype face loading as well
2 years ago
Behdad Esfahbod
202888ec3e
Fix mac bot
...
I think the new unsafe-to-concat is correct...
2 years ago
Behdad Esfahbod
35a026c89a
[shape] Unsafe-to-concat around fraction slash
2 years ago
Behdad Esfahbod
f19ca24a8e
Revert "Revert "Require numerator and denominator in auto fraction""
...
This reverts commit 8fe506e153
.
2 years ago
Behdad Esfahbod
b2a73166d4
[buffer] Fix unsafe_to_concat()
...
Ouch!
2 years ago
Behdad Esfahbod
8fe506e153
Revert "Require numerator and denominator in auto fraction"
...
This reverts commit f3e86937df
.
2 years ago
David Corbett
f3e86937df
Require numerator and denominator in auto fraction
2 years ago
Behdad Esfahbod
23838e5a2e
[graph] Error handling
2 years ago
Behdad Esfahbod
04f4909257
[graph] Use a move instead of swap
2 years ago
Behdad Esfahbod
3bedb0eeed
[graph] Minor rename
2 years ago
Behdad Esfahbod
bb1f53c254
[graph] Try fixing infinite loop found by CIFuzz under malloc fail
2 years ago
Behdad Esfahbod
db3314c1f8
[graph] Minor space type change
2 years ago
Behdad Esfahbod
6a218eaeea
Merge pull request #4343 from harfbuzz/graph-parents-map
...
[graph] Use a hb_map_t to keep parents, instead of hb_vector_t
2 years ago
Behdad Esfahbod
6bb61708ed
[graph] Try fixing bots
2 years ago
Behdad Esfahbod
1b5abb1781
[graph] Speed-up vertices having only one parent
2 years ago
Behdad Esfahbod
f3d0b11d57
[graph] Make parents private
2 years ago
Behdad Esfahbod
d3b997ee70
[graph] Use a hb_map_t to keep parents, instead of hb_vector_t
...
In some fonts, for example Noto Duployan-Regular, nodes can
have over a thousand parents... Speeds up 10% subsetting.
2 years ago
Qunxin Liu
45a0d65c62
[instancer] cosmetic change
2 years ago
Behdad Esfahbod
cb320d2222
Revert "[cff] Use float instead of double"
...
This reverts commit c8f67ac28e
.
Tests failing.
2 years ago
Behdad Esfahbod
c8f67ac28e
[cff] Use float instead of double
...
Reduces memory usage slightly.
2 years ago
Behdad Esfahbod
b36b100ef1
[var] Remove byte_data_t; use hb_bytes_t
...
Now that we have hopefully fixed the bug preventing hb_bytes_t
use, remove the hack.
Ref.
5690840ceb
https://github.com/harfbuzz/harfbuzz/issues/4138
2 years ago
Behdad Esfahbod
c25b8c0612
Merge pull request #4335 from googlefonts/bug_fixes
...
[instancer] support avar table, fix issues in STAT/fvar tables
2 years ago
Qunxin Liu
5cab0709a4
[instancer] fix for missing to update tuple indices flag in operator +=
2 years ago