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
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
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
Behdad Esfahbod
91c449a64a
[graph] Make space_for non-recursive
...
It was tail-recursive so perhaps the compiler did the same.
Anyway, make it explicit now.
2023-08-02 14:40:55 -06:00
Behdad Esfahbod
dcd3afcabf
[skippy-iter] Remove unused num_items
2023-08-01 20:09:34 -06:00
Behdad Esfahbod
5b337130e2
Add test for previous commit
2023-08-01 20:02:21 -06:00
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
2023-08-01 19:41:12 -06:00
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
2023-08-01 15:16:16 -06:00
Behdad Esfahbod
94d4283b12
[graph] Handle a malloc fail
...
Fixes https://oss-fuzz.com/testcase-detail/4579249263345664
2023-08-01 15:06:01 -06:00
Behdad Esfahbod
603920e911
[graph] Minor asserts
2023-08-01 14:58:33 -06:00
Behdad Esfahbod
8d00476fbf
[graph] Minor restructure a condition
2023-08-01 14:27:37 -06:00
Behdad Esfahbod
7946984b96
[graph] More assert
2023-08-01 14:18:03 -06:00
Behdad Esfahbod
3b386c3773
[graph] Minor assert
2023-08-01 14:15:41 -06:00
Behdad Esfahbod
07e7033076
[graph] Error check
2023-08-01 12:25:45 -06:00
Behdad Esfahbod
7a9aac1ae3
[graph] Fixes to parent handling
2023-08-01 12:17:13 -06:00
Behdad Esfahbod
2feac50b40
Revert "[gsubgpos] Keep another digest in the applicable_t"
...
This reverts commit fd79c7cecd
.
2023-07-31 19:53:06 -06:00
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.
2023-07-31 19:52:15 -06:00
Behdad Esfahbod
e3fd69c889
[layout] Inline another function
...
Code is smaller too.
2023-07-31 19:07:42 -06:00
Behdad Esfahbod
9cdc043c16
[Cursive] Only sanitize what we use
2023-07-31 18:53:29 -06:00
Behdad Esfahbod
25e9defa51
[sanitize] Inline check_struct
...
Though seems like the compiler was always inlining it anyway.
2023-07-31 17:12:07 -06:00
Behdad Esfahbod
44026aa8a9
[Cursive] Minor, adjust unsafe-to-concat if prev didn't sanitize
2023-07-31 16:47:06 -06:00
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.
2023-07-31 16:31:59 -06:00
Khaled Hosny
fcb9e5915f
8.1.0
2023-08-01 01:00:47 +03:00
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>
2023-07-31 15:21:51 -06:00
Behdad Esfahbod
db608229d1
[README] Update
2023-07-31 15:16:43 -06:00
Behdad Esfahbod
59f5f26515
[ci/msys] Don't install freetype ( #4354 )
...
* [ci/msys] Try deleting system harfbuzz DLL
2023-07-31 15:09:11 -06:00
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
2023-07-31 13:27:15 -06:00
Behdad Esfahbod
d9c4d3edf0
[uniscribe] Fix warnings
2023-07-31 12:43:12 -06:00
Behdad Esfahbod
29ad9304e2
[layout] Minor add prealloc
2023-07-30 17:06:25 -06:00
Behdad Esfahbod
a41368bd7a
[buffer] Minor micro-optimize
2023-07-30 17:04:02 -06:00
Behdad Esfahbod
dc35a0fbcb
[ot-map] Speed up feature finding
...
New API:
- hb_ot_layout_collect_feature_map()
2023-07-30 16:37:30 -06:00
Behdad Esfahbod
ebdfa9838b
[perf] Measure freetype face loading as well
2023-07-30 12:22:55 -06:00
Behdad Esfahbod
202888ec3e
Fix mac bot
...
I think the new unsafe-to-concat is correct...
2023-07-30 11:49:08 -06:00
Behdad Esfahbod
35a026c89a
[shape] Unsafe-to-concat around fraction slash
2023-07-30 11:28:59 -06:00
Behdad Esfahbod
f19ca24a8e
Revert "Revert "Require numerator and denominator in auto fraction""
...
This reverts commit 8fe506e153
.
2023-07-30 11:26:11 -06:00
Behdad Esfahbod
b2a73166d4
[buffer] Fix unsafe_to_concat()
...
Ouch!
2023-07-30 11:25:58 -06:00
Behdad Esfahbod
8fe506e153
Revert "Require numerator and denominator in auto fraction"
...
This reverts commit f3e86937df
.
2023-07-30 11:09:37 -06:00
David Corbett
f3e86937df
Require numerator and denominator in auto fraction
2023-07-30 10:26:00 -06:00
Behdad Esfahbod
23838e5a2e
[graph] Error handling
2023-07-29 13:20:14 -06:00
Behdad Esfahbod
04f4909257
[graph] Use a move instead of swap
2023-07-28 14:37:52 -06:00