Behdad Esfahbod
28c86813c2
[vector] Simplify transform group stack and cap depth
2026-02-24 09:52:14 -03:00
Behdad Esfahbod
c0a895613d
[vector] Add extents mode to glyph APIs and make setters expand
2026-02-24 09:46:55 -03:00
Behdad Esfahbod
344c12ca15
Add vector paint glyph convenience API and auto-extents
2026-02-24 09:19:04 -03:00
Behdad Esfahbod
a343292e5d
Improve hb-vector SVG reuse output orientation and units
2026-02-24 09:09:53 -03:00
Behdad Esfahbod
2bafa74e3a
Add hb-raster glyph convenience wrappers
2026-02-24 09:03:45 -03:00
Behdad Esfahbod
b4b0134493
Add draw_glyph pen placement API for reusable SVG output
2026-02-24 09:00:26 -03:00
Behdad Esfahbod
3c099ee71c
Add initial libharfbuzz-vector SVG backend and utility rename
2026-02-24 08:52:34 -03:00
Behdad Esfahbod
1cdab593b8
raster: rename has_fixed_extents to has_extents
2026-02-24 06:07:56 -03:00
Behdad Esfahbod
8ccb383ce0
raster: use clear() for vector reset sites
2026-02-24 06:07:08 -03:00
Behdad Esfahbod
c1393a6153
raster-paint: route recycled images through surface cache
2026-02-24 05:53:32 -03:00
Behdad Esfahbod
15247caceb
raster-paint: consume recycled image in surface acquire
2026-02-24 05:51:37 -03:00
Behdad Esfahbod
1d5b01e40b
raster-paint: move clips into stack to avoid alpha copies
2026-02-24 05:47:13 -03:00
Behdad Esfahbod
4503a760c9
raster-draw: preserve scratch/cache across reset
2026-02-24 05:43:36 -03:00
Behdad Esfahbod
1c44fd9981
raster: use hb_memset in core hot paths
2026-02-24 05:16:42 -03:00
Behdad Esfahbod
383aae52f9
raster: expand top-level docs and usage guidance
2026-02-24 05:08:09 -03:00
Behdad Esfahbod
bcd19a4c39
raster: add draw/paint scale-factor API
2026-02-24 05:02:35 -03:00
Behdad Esfahbod
70f45cbdcd
raster-draw: hardwire output format to A8
2026-02-24 04:52:44 -03:00
Behdad Esfahbod
5ea04afcda
raster: adopt create_or_fail and strict render semantics
2026-02-24 04:46:51 -03:00
Behdad Esfahbod
420fe6ef70
raster: rename helper header to hb-raster-utils.hh
2026-02-24 04:29:07 -03:00
Behdad Esfahbod
bf9b2c86ad
raster: split image internals into private header
2026-02-24 04:26:52 -03:00
Behdad Esfahbod
0727834314
raster-image: consolidate configuration API
2026-02-24 04:22:51 -03:00
Behdad Esfahbod
c173b39b6a
raster-image: move image ops into methods
2026-02-24 04:03:43 -03:00
Behdad Esfahbod
7ffc215001
[buffer] Add a missing immutable check
2026-02-24 04:00:48 -03:00
Behdad Esfahbod
3f59dce67f
raster-paint: reuse mask clip buffers across push/pop
2026-02-24 03:40:12 -03:00
Behdad Esfahbod
395a620666
raster-paint: keep caches across reset
2026-02-24 03:37:07 -03:00
Behdad Esfahbod
22d102b24e
raster-paint: reuse gradient stop scratch buffer
2026-02-24 03:35:29 -03:00
Behdad Esfahbod
f02a1d1a32
raster-paint: gate gradient LUT by clip area and hoist branch
2026-02-24 03:31:05 -03:00
Behdad Esfahbod
7e53502728
raster-paint: add 256-entry gradient LUT sampling
...
Speeds up at large sizes mostly.
2026-02-24 03:18:39 -03:00
Behdad Esfahbod
0960825994
raster-paint: speed up masked paint_color compositing
2026-02-24 02:58:18 -03:00
Behdad Esfahbod
4653e22a91
raster-paint: compose clip glyph mask in mapped tight extents (~50% faster)
2026-02-24 02:45:05 -03:00
Behdad Esfahbod
b37a92f361
[CFF2] Use a safe direct array access
2026-02-24 02:26:59 -03:00
Behdad Esfahbod
7c5e300751
[CFF2] Slight rename of stack
2026-02-24 02:25:55 -03:00
Behdad Esfahbod
c2757c0d93
raster: make cubic de Casteljau flattener iterative
2026-02-24 02:19:19 -03:00
Behdad Esfahbod
c2fe10f1f3
raster: make quadratic de Casteljau flattener iterative
2026-02-24 02:15:46 -03:00
Behdad Esfahbod
ab4092abd2
raster: annotate sweep_row_to_alpha pointers restrict
2026-02-24 01:52:41 -03:00
Behdad Esfahbod
e0c03c0f65
raster: speed up clip glyph mask composition
2026-02-24 01:17:37 -03:00
Behdad Esfahbod
be6011b7a6
raster-paint: incrementally step affine coords in paint loops
2026-02-24 00:53:12 -03:00
Behdad Esfahbod
3eabfde47a
raster-paint: tighten push_clip_glyph intersection loops
2026-02-24 00:48:55 -03:00
Behdad Esfahbod
b7969504bc
Revert "raster-paint: use bounded clip masks and clipped group compositing"
...
This reverts commit 7f707557d3 .
2026-02-24 00:42:54 -03:00
Behdad Esfahbod
7f707557d3
raster-paint: use bounded clip masks and clipped group compositing
2026-02-24 00:38:04 -03:00
Behdad Esfahbod
1659d27a48
Revert "raster-paint: reuse clip stack storage via logical top"
...
This reverts commit 473f69f555 .
There was no speedup, so keep the simpler code.
2026-02-24 00:10:44 -03:00
Behdad Esfahbod
473f69f555
raster-paint: reuse clip stack storage via logical top
2026-02-24 00:10:11 -03:00
Behdad Esfahbod
332e1afcb5
raster-paint: inline private paint structs into .cc
2026-02-24 00:05:30 -03:00
Behdad Esfahbod
12b5a9ec89
[raster-paint] ALWAYS_INLINE
2026-02-24 00:01:34 -03:00
Behdad Esfahbod
6bfdaabc8a
raster-paint: specialize rect clip hot loops
2026-02-23 23:48:18 -03:00
Behdad Esfahbod
46782abcaa
[raster] Micro-optimize
2026-02-23 23:28:59 -03:00
Behdad Esfahbod and Claude Opus 4.6
d7d17ee055
raster: fix winding carry for edges left of the surface
...
When an edge fell to the left of the rendering surface (col < 0),
cell_add() discarded its winding contribution entirely. For glyphs
whose outlines extend beyond the surface bounds (e.g. COLR v1
spliceMask clip glyphs), this caused the interior winding number to
stay zero, producing empty rasterizations.
Fix by forwarding the cover delta to column 0 so the left-to-right
sweep picks up the correct accumulated winding.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-23 22:31:24 -03:00
Behdad Esfahbod
1350d2a470
[cmap] Fix CodeXL warning
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/5753
2026-02-23 18:44:50 -03:00
Behdad Esfahbod
742f79da08
raster: remove extents_from_glyph_extents API
...
Remove hb_raster_extents_from_glyph_extents and switch callers to the new transform-aware set_glyph_extents APIs on raster draw/paint. Also add test coverage for transformed glyph extents and update section symbol listings.
2026-02-23 12:10:41 -03:00
Behdad Esfahbod
dc532931d6
raster: streamline scanline hot paths
2026-02-22 19:26:42 -03:00