Behdad Esfahbod
|
7288123481
|
Allow overriding HB_ALWAYS_INLINE
|
1 year ago |
Behdad Esfahbod
|
9fea19ebff
|
[shape] Another always-inline
|
1 year ago |
Behdad Esfahbod
|
5b45c56c9e
|
[shape] Always-inline more
Another 10% speedup in BM_Shape Gulzar-Regular.
|
1 year ago |
Behdad Esfahbod
|
bb9692e8a3
|
[shape] Always-inline match_input
10% speedup in BM_Shape Gulzar-Regular.
|
1 year ago |
Behdad Esfahbod
|
6c451054fb
|
[sanitize] Sprinkle a few unlikely's
|
1 year ago |
Behdad Esfahbod
|
4ecc62c28d
|
[sanitize] Simplify ChainRule::sanitize again
check_struct does the same now.
|
1 year ago |
Behdad Esfahbod
|
253ec08b3d
|
[sanitize] Speed up check_struct on x64
|
1 year ago |
Behdad Esfahbod
|
fb02f4a897
|
[sanitize] Micro-optimize ChainRule::sanitize
|
1 year ago |
Khaled Hosny
|
c650858c63
|
[graphite] Fix cluster advance width
Based on https://github.com/harfbuzz/harfbuzz/issues/4309#issuecomment-1624730406
Fixes https://github.com/harfbuzz/harfbuzz/issues/4309
|
1 year ago |
Behdad Esfahbod
|
73ee9c346f
|
Revert "[sanitize] Only check trailing edge of ranges"
This reverts commit e4856cf809 .
This is wrong on at least 32-bit systems. Might add a condition
version later.
|
1 year ago |
Behdad Esfahbod
|
0b879afb5a
|
[sanitize] Inline Coverage::sanitize
|
1 year ago |
Behdad Esfahbod
|
92448910a7
|
[sanitize] Minor inline a few more short functions
|
1 year ago |
Behdad Esfahbod
|
d84504206c
|
[sanitize] Optimize away an overflow check when not needed
When the length argument is 16bit...
|
1 year ago |
Behdad Esfahbod
|
e4856cf809
|
[sanitize] Only check trailing edge of ranges
Assumptions...
Speeds up Gulzar load_face_and_shape benchmark by 7%.
|
1 year ago |
Behdad Esfahbod
|
6a683ea6eb
|
[sanitize] Enlighten check_range() some more
No need to check for len=0 arrays. They must still be in range.
|
1 year ago |
Behdad Esfahbod
|
c24ea1036b
|
[sanitize] Minor tweak to len=0 case which is handled otherwise anyway
|
1 year ago |
Behdad Esfahbod
|
403bc7caa4
|
[sanitize] Simplify Rule::sanitize()
|
1 year ago |
Behdad Esfahbod
|
385896ff66
|
[sanitize] Speed up ChainRule::sanitize()
10% speedup in sanitizing Gulzar-Regular.
|
1 year ago |
Behdad Esfahbod
|
2006d3211f
|
[sanitize] Add "fastpath" for ArrayOfOffset16To<> objects with max size
Unfortunately this doesn't speed up NotoNastaliq or Gulzar as I was
hoping for. Their GSUB tables are not large enough for this to kick
in...
|
1 year ago |
Behdad Esfahbod
|
7a85663c2b
|
Revert "[sanitize] Add "fastpath" for ArrayOfOffset16To<> objects with max size"
This reverts commit 10f8556c73 .
This was, unfortunately, wrong :(.
|
1 year ago |
Behdad Esfahbod
|
f2a3680fab
|
Revert "[gsubgpos] Limit (Chain)ContextFormat3 for consistency"
This reverts commit 90b48917da .
|
1 year ago |
Behdad Esfahbod
|
90b48917da
|
[gsubgpos] Limit (Chain)ContextFormat3 for consistency
|
1 year ago |
Behdad Esfahbod
|
3b02f694e8
|
[sanitize/GSUBGPOS] Limit max-size of a few offset arrays
This significantly speeds up Gulzar-Regular sanitize, by 40%.
|
1 year ago |
Behdad Esfahbod
|
10f8556c73
|
[sanitize] Add "fastpath" for ArrayOfOffset16To<> objects with max size
|
1 year ago |
Behdad Esfahbod
|
68b7891459
|
[sanitize] Add "fastpath" for ArrayOfOffset16To<> objects with max size
Unfortunately this doesn't speed up NotoNastaliq or Gulzar as I was
hoping for. Their GSUB tables are not large enough for this to kick
in...
|
1 year ago |
Behdad Esfahbod
|
90752cd5b7
|
[type] Add HeadlessArray16Of
|
1 year ago |
Behdad Esfahbod
|
59abcda269
|
[sanitize] Add an ALWAYS_INLINE
Looks like it was always inlined anyway.
|
1 year ago |
Behdad Esfahbod
|
45a1721230
|
[ot-font] Prefer CFF2 over CFF1
|
1 year ago |
أحمد المحمودي
|
43d0aff672
|
[introspection] Pass both libharfbuzz_gobject & libharfbuzz as positional parameters
Fixes #4304
|
1 year ago |
Behdad Esfahbod
|
25297408de
|
[COLR] Fix PaintComposite sanitize timeout
Was timing out after recent sanitize() change.
Fixes https://oss-fuzz.com/testcase-detail/5692635449524224
|
1 year ago |
dependabot[bot]
|
a8c655e651
|
Bump actions/checkout from 3.5.1 to 3.5.3
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.5.1 to 3.5.3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3.5.1...c85c95e3d7251135ab7dc9ce3241c5835cc595a9)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
|
1 year ago |
Behdad Esfahbod
|
de2c10732d
|
[ot-map] Speed up for default shaper
Sort late, the reduced number of features.
|
1 year ago |
Behdad Esfahbod
|
8156c5a685
|
[ot-map] Minor micro-optimize
|
1 year ago |
Behdad Esfahbod
|
5ac9eaa035
|
[sanitize] Minor micro-optimize
|
1 year ago |
Behdad Esfahbod
|
e8948d634e
|
[set-digest] Micro-optimize more
|
1 year ago |
Behdad Esfahbod
|
cb73ba7104
|
[set-digest] Fixup for previous commit
|
1 year ago |
Behdad Esfahbod
|
918ad89294
|
[set-digest] Early terminate add_range() if we're full
|
1 year ago |
Behdad Esfahbod
|
bb33675e60
|
[sanitize] Micro-optimize check_range()
|
1 year ago |
Behdad Esfahbod
|
d1c82a1cc6
|
[sanitize] Speed up check_struct()
Don't account for length here. Should not be a problem.
Fingers crossed fuzzers.
18% speed up in load_face_and_shape Gulzar-Regular.
|
1 year ago |
Behdad Esfahbod
|
ec94386622
|
[OffsetTo] Micro-optimize away a check
|
1 year ago |
Behdad Esfahbod
|
eae8278896
|
[GPOS] Micro-optimize lazy_some_gpos check
Speeds up 11% in:
BM_Font/load_face_and_shape/Roboto-Regular.ttf/hb
|
1 year ago |
Behdad Esfahbod
|
46e54a2390
|
[GPOS] Remove extra check
|
1 year ago |
Behdad Esfahbod
|
13438da16e
|
[benchmark-font] Minor move a variable
|
1 year ago |
Behdad Esfahbod
|
7f5380fe94
|
[Composite] Don't apply transformation if phantom_only
|
1 year ago |
Behdad Esfahbod
|
0cf759b0d4
|
[Glyph] Don't shift anchored Composite if phantom_only
Fixes https://oss-fuzz.com/testcase-detail/5114131137822720
|
1 year ago |
Behdad Esfahbod
|
645bde4738
|
[Glyph] Pass phantom-only to gvar only for SIMPLE glyphs
For Composites we need to get the translation offset deltas.
|
1 year ago |
Behdad Esfahbod
|
e92eefaabb
|
[gvar] Cache two values in shared_tuple_active_idx
Speeds up varc-hangul.ttf draw_glyph by 10%.
|
1 year ago |
Behdad Esfahbod
|
7d72fdd5bf
|
[benchmark-font] Do some work in draw_glyph callbacks
For no good reason other than matching what I'm adding to
skrifa benchmark. Doesn't seem to affect benchmarks whatsoever.
|
1 year ago |
Behdad Esfahbod
|
47b5ee6789
|
Merge pull request #4306 from harfbuzz/gpos-lazy-device
GPOS lazy Device
|
1 year ago |
Behdad Esfahbod
|
2d6091fc42
|
[GPOS] Make AnchorMatrix sanitize lazy again
Was reverted in the previous commit, because it was incomplete.
|
1 year ago |