Behdad Esfahbod
|
14e5a046c8
|
[font] Move synthetic glyph extents into font layer
So it applies to all font-funcs.
|
2025-03-16 01:02:55 -06:00 |
|
Behdad Esfahbod
|
000a0ad7a6
|
[paint] Add push_font_transform() / push_inverse_font_transform()
Fixes https://github.com/harfbuzz/harfbuzz/issues/5146
|
2025-03-15 18:35:32 -06:00 |
|
Behdad Esfahbod
|
4807a021a1
|
[atomic] Kill hb_atomic_ptr_t<T>
Use hb_atomic_t<T *> instead.
|
2025-03-12 18:27:27 -06:00 |
|
Behdad Esfahbod
|
4e5358a288
|
[COLRv1] Fix comments
Fixes https://github.com/harfbuzz/harfbuzz/issues/5116
|
2025-03-07 15:18:28 -07:00 |
|
Behdad Esfahbod
|
575e70b063
|
[COLR] Use palette 0 if palette index out of range
Fixes https://github.com/harfbuzz/harfbuzz/issues/5112
|
2025-03-07 12:51:44 -07:00 |
|
Behdad Esfahbod
|
6506bd7e82
|
Merge pull request #4498 from harfbuzz/PaintColrLayers
[COLRv1] Optimize PaintColrLayers instead of PaintComposite
|
2025-03-06 20:00:54 -07:00 |
|
Behdad Esfahbod
|
50fe45f43c
|
[COLR] Fix memory leak
|
2025-03-03 16:31:41 -07:00 |
|
Behdad Esfahbod
|
9c6b6998ef
|
[VARC] Fix sign of returned extents
|
2025-03-03 11:48:17 -07:00 |
|
Behdad Esfahbod
|
e9134c8ce3
|
[COLR] Reduce malloc pressure
By caching paint-extents.
|
2025-03-03 02:18:49 -07:00 |
|
Behdad Esfahbod
|
9efd17e225
|
[COLR] Switch to using (existing) accelerator
|
2025-03-03 02:17:13 -07:00 |
|
Behdad Esfahbod
|
17ddc84406
|
[VARC] Fix scratch caching
|
2025-03-03 01:27:32 -07:00 |
|
Behdad Esfahbod
|
a62058eee8
|
[VARC] Separate varc scratch from glyf scratch
|
2025-03-03 01:19:52 -07:00 |
|
Behdad Esfahbod
|
3199d1c1f5
|
[VARC] Use a context object to pass arguments around
|
2025-03-02 18:35:46 -07:00 |
|
Behdad Esfahbod
|
e0c6c98025
|
[VARC] Implement get_extents()
Fixes https://github.com/harfbuzz/harfbuzz/issues/5007
|
2025-03-02 16:56:20 -07:00 |
|
Behdad Esfahbod
|
7e3c96582f
|
[VARC] Reuse parent MultiVarStore cache if coords didn't change
Minor optimization; applicable to the test hangul font mostly.
|
2025-03-01 15:09:58 -07:00 |
|
Behdad Esfahbod
|
64dbeaf0f4
|
[glyf] Mover decycler to the scratch pad
|
2025-02-28 01:13:25 -07:00 |
|
Behdad Esfahbod
|
00541f1952
|
Merge pull request #4970 from harfbuzz/GVAR
Add `GVAR` table
|
2025-02-26 16:22:48 -07:00 |
|
Behdad Esfahbod
|
a0543453de
|
[CBDT] Change has_data() to be more accurate
get_length() was returning the Null table length if table
was not present.
|
2025-02-26 15:36:03 -07:00 |
|
Behdad Esfahbod
|
7504c67fb7
|
[CBDT] Return immediately if no data
|
2025-02-26 15:24:40 -07:00 |
|
Behdad Esfahbod
|
17a83b748e
|
[COLRv1] Optimize PaintColrLayers instead of PaintComposite
See https://github.com/googlefonts/colr-gradients-spec/issues/369#issuecomment-1816913943
and onwards.
|
2025-02-26 14:40:02 -07:00 |
|
Behdad Esfahbod
|
44b7ba51a3
|
[GVAR] Hide behind HB_NO_BEYOND_64K
|
2025-02-26 14:21:15 -07:00 |
|
Behdad Esfahbod
|
13900ce40d
|
[GVAR] Hook up to face and glyf table
|
2025-02-26 14:21:15 -07:00 |
|
Behdad Esfahbod
|
6a7b4dcae6
|
[VARC] Reduce stack usage on 32bit systems
|
2025-02-26 13:25:50 -07:00 |
|
Behdad Esfahbod
|
84ffb7e477
|
[SimpleGlyph] Minor use an intermediate variable
|
2025-02-26 12:53:58 -07:00 |
|
Behdad Esfahbod
|
54db2b2ed6
|
[SimpleGlyph] Remove a conditional from hot path
5% speedup in Roboto-Regular draw benchmark
|
2025-02-26 12:53:52 -07:00 |
|
Behdad Esfahbod
|
bb4d37b052
|
[VARC/coord-setter] Reduce stack allocation on 32bit systems
|
2025-02-26 12:17:27 -07:00 |
|
Behdad Esfahbod
|
51d3489ca1
|
[Composite] Fix memory-free rendering
|
2025-02-26 12:09:31 -07:00 |
|
Behdad Esfahbod
|
59e6a1c477
|
[glyf/Composite] Malloc-free
|
2025-02-26 11:34:04 -07:00 |
|
Behdad Esfahbod
|
3c4cb472d1
|
[VARC] Fix uninitialized value
Fixes https://oss-fuzz.com/testcase-detail/6089638800588800
|
2025-02-26 10:48:36 -07:00 |
|
Behdad Esfahbod
|
fcbf14a0e5
|
[CompositeGlyph] Adjust pre-allocation
|
2025-02-25 20:16:18 -07:00 |
|
Behdad Esfahbod
|
6ca8852eff
|
[glyf] Return earlier if table is empty
|
2025-02-25 19:57:43 -07:00 |
|
Behdad Esfahbod
|
7614320a13
|
[glyf] Reduce malloc pressure
Benchmark 15% faster for draw.
|
2025-02-25 16:59:37 -07:00 |
|
Behdad Esfahbod
|
882d328839
|
[glyf] Port to decycler for composite glyphs
5% speed up drawing Roboto-Regular.ttf.
|
2025-02-25 16:35:32 -07:00 |
|
Behdad Esfahbod
|
ffee85d67f
|
[VARC] Minor simplify pointer math
|
2025-02-25 16:20:42 -07:00 |
|
Behdad Esfahbod
|
7222c1e50f
|
[path-builder] Add a constexpr
|
2025-02-25 15:13:20 -07:00 |
|
Behdad Esfahbod
|
e450552d07
|
[coord-setter] Fix memory access in case of malloc failure
Fixes https://oss-fuzz.com/testcase-detail/5383702943432704
|
2025-02-25 14:54:37 -07:00 |
|
Behdad Esfahbod
|
f71faf5fec
|
[VARC] Fix buffer scratch borrowing
|
2025-02-25 11:35:21 -07:00 |
|
Behdad Esfahbod
|
e76b689fe1
|
[VARC] Fix resource leak
|
2025-02-25 11:23:48 -07:00 |
|
Behdad Esfahbod
|
47124e6337
|
[VARC] Avoid creating cache if there's no VARC table
|
2025-02-24 23:25:50 -07:00 |
|
Behdad Esfahbod
|
d5d199fbc7
|
[VARC] Reduce malloc pressure
By caching one hb_glyf_scratch_t on the VARC accelerator.
|
2025-02-24 23:20:12 -07:00 |
|
Behdad Esfahbod
|
2c5ab14aaa
|
[coord-setter] Increase static array size
|
2025-02-24 22:50:42 -07:00 |
|
Behdad Esfahbod
|
97a5c52af4
|
[VARC/MultiVarStore] Reduce malloc pressure more
|
2025-02-24 20:53:19 -07:00 |
|
Behdad Esfahbod
|
6938ee0342
|
[VARC] More nuanced caching
|
2025-02-24 20:44:15 -07:00 |
|
Behdad Esfahbod
|
081fcbdf5a
|
[VARC] Minor move variable closer to use
|
2025-02-24 20:15:24 -07:00 |
|
Behdad Esfahbod
|
0a1b26b862
|
[coord-setter] Reduce malloc pressure
~15% speedup benchmark-font draw of varc-hanzi.ttf
|
2025-02-24 20:07:59 -07:00 |
|
Behdad Esfahbod
|
76c3beaf36
|
[VARC] Reduce malloc overhead
|
2025-02-24 19:50:51 -07:00 |
|
Behdad Esfahbod
|
2032da0117
|
[ot-font] Centralize painting an outline glyph
|
2025-02-18 20:54:56 -07:00 |
|
Behdad Esfahbod
|
01f02f55a1
|
[COLR] Optimize NoVariation codepath
|
2025-02-18 20:28:48 -07:00 |
|
Behdad Esfahbod
|
4c263ecd00
|
Merge pull request #5074 from harfbuzz/tortoise-hare
[decycler] Implement an efficient graph cycle detector
|
2025-02-18 20:08:19 -07:00 |
|
Behdad Esfahbod
|
f26d9514b1
|
[COLR] Fix HB_LEAN build
|
2025-02-18 20:07:25 -07:00 |
|