Commit Graph
20302 Commits
Author SHA1 Message Date
Behdad Esfahbod f560bbb9e4 [raster] Guard SVG <use> cycles with hb_decycler_t 2026-02-26 00:22:10 -03:00
Behdad Esfahbod 860beb08b6 [raster] Split SVG defs scanning from render 2026-02-26 00:18:49 -03:00
Behdad Esfahbod c6b1598e48 [raster] Reduce SVG module include coupling 2026-02-26 00:16:40 -03:00
Behdad Esfahbod d98af91ba1 [raster] Normalize SVG helper APIs to hb_raster_svg_* 2026-02-26 00:15:44 -03:00
Behdad Esfahbod 601c9814d0 [raster] Share SVG render/fill/use context structs 2026-02-26 00:14:46 -03:00
Behdad Esfahbod 5c2882b5c8 [raster] Split SVG color parser and remove hb-raster-svg.cc 2026-02-26 00:11:48 -03:00
Behdad Esfahbod 9f18f09012 [raster] Split SVG renderer into hb-raster-svg-render 2026-02-26 00:08:19 -03:00
Behdad Esfahbod 0b4f03d470 [raster] Split SVG use helpers into hb-raster-svg-use 2026-02-26 00:07:16 -03:00
Behdad Esfahbod aaae77ccac [raster] Split SVG fill helpers into hb-raster-svg-fill 2026-02-26 00:04:19 -03:00
Behdad Esfahbod b8f607cbae [raster] Split SVG bbox helpers into hb-raster-svg-bbox 2026-02-26 00:01:54 -03:00
Behdad Esfahbod 8f960c424e [raster] Split SVG clip helpers into hb-raster-svg-clip 2026-02-25 23:58:35 -03:00
Behdad Esfahbod b1c188931b [raster] Split SVG gradient helpers into hb-raster-svg-gradient 2026-02-25 23:56:25 -03:00
Behdad Esfahbod ba1352a7af [raster] Fix fill color regression in SVG id parsing 2026-02-25 23:53:11 -03:00
Behdad Esfahbod 87c18a2c47 [raster] Drop unused SVG def enum variant 2026-02-25 23:51:41 -03:00
Behdad Esfahbod 2ef531de78 [raster] Add SVG parser guardrails for attrs and stops 2026-02-25 23:51:20 -03:00
Behdad Esfahbod 209ccf6a7b [raster] Unify SVG id reference parsing 2026-02-25 23:50:54 -03:00
Behdad Esfahbod fea3052694 [raster] Add cached SVG attribute view helper 2026-02-25 23:50:05 -03:00
Behdad Esfahbod 0549b109f0 [raster] Split SVG defs store into hb-raster-svg-defs 2026-02-25 23:49:06 -03:00
Behdad Esfahbod a7a7ed6f47 [raster] Split SVG parser code into hb-raster-svg-parse 2026-02-25 23:44:34 -03:00
Behdad Esfahbod f6b60d9d64 raster/svg: split base helpers into hb-raster-svg-* units 2026-02-25 23:37:22 -03:00
Behdad Esfahbod bce954ddec raster/svg: speed up defs lookups with hb_bytes_t hash maps 2026-02-25 23:32:24 -03:00
Behdad Esfahbod 153418b15e raster/svg: parse style properties once per element 2026-02-25 23:27:25 -03:00
Behdad Esfahbod d20baa570c raster/svg: reuse shared url parser and tidy renderer formatting 2026-02-25 23:22:15 -03:00
Behdad Esfahbod ada78d5041 raster/svg: pass cascade state struct through renderer 2026-02-25 23:19:01 -03:00
Behdad Esfahbod dc8ac302d4 raster/svg: fix opacity inherit and gradient stop inherit 2026-02-25 23:15:49 -03:00
Behdad Esfahbod 0d1ef4c14c raster/svg: add url fallback paint and normalize inherit/none 2026-02-25 23:12:11 -03:00
Behdad Esfahbod 2f3ca23a07 raster/svg: handle inherit and currentColor in gradients 2026-02-25 23:10:12 -03:00
Behdad Esfahbod e46cc48295 raster/svg: add visibility/color cascade and global defs scan 2026-02-25 23:07:03 -03:00
Behdad Esfahbod 5130b0f517 raster/svg: support style props and harden gradient/url parsing 2026-02-25 22:56:49 -03:00
Behdad Esfahbod c90db60149 Merge pull request #5763 from harfbuzz/raster-svg-cleanup
Raster svg cleanup
2026-02-25 15:19:11 -07:00
Behdad Esfahbod 9fb2287351 raster-svg: document defs helper flow 2026-02-25 19:02:58 -03:00
Behdad Esfahbod c61a9f0994 raster-svg: centralize href/xlink lookup 2026-02-25 19:02:42 -03:00
Behdad Esfahbod 9c8512d701 raster-svg: split element rendering into helpers 2026-02-25 19:02:21 -03:00
Behdad Esfahbod f68fdc4aa0 raster-svg: normalize defs/render indentation 2026-02-25 18:59:18 -03:00
Behdad Esfahbod 52bebc03fd raster-svg: reuse fragment-id parsing for <use> href 2026-02-25 18:59:02 -03:00
Behdad Esfahbod d379b303ff raster-svg: tighten defs parsing helpers and stack checks
Keep stack-depth snapshots always declared with HB_UNUSED
2026-02-25 18:56:26 -03:00
Behdad Esfahbod 82e7169dbb raster-svg: dedupe url(#id) parsing 2026-02-25 18:53:26 -03:00
Behdad Esfahbod 72424f4999 raster-svg: dedupe gradient defs parsing
Reuse shared empty-clip helper in clip rectangle OOM path
2026-02-25 18:52:23 -03:00
Behdad Esfahbod bfc51d8279 raster-paint: share clip-mask rasterization helper 2026-02-25 18:50:37 -03:00
Behdad Esfahbod b86deba105 raster-svg: handle defs OOM via vector in_error 2026-02-25 18:45:54 -03:00
Behdad Esfahbod e925a8aa04 Merge pull request #5762 from harfbuzz/hb-raster-view-options
`hb-raster` view options
2026-02-25 14:42:19 -07:00
Behdad Esfahbod 953f222c2e [raster] Remove extents safety pad for view parity 2026-02-25 18:32:45 -03:00
Behdad Esfahbod 24912d7990 [raster] Fix logical bounds to avoid trailing empty line 2026-02-25 18:31:25 -03:00
Behdad Esfahbod 3f0bee360f [raster] Fix non-rainbow A8 output extents usage 2026-02-25 18:25:18 -03:00
Behdad Esfahbod b141d47b8e [raster] Implement show-extents overlays 2026-02-25 16:40:09 -03:00
Behdad Esfahbod acaf6b3f43 [view] Keep foreground palette cycling across lines 2026-02-25 16:37:06 -03:00
Behdad Esfahbod 21b8e0a4c4 [raster] Apply foreground palette cycling to non-color glyphs 2026-02-25 16:35:16 -03:00
Behdad Esfahbod f5e211094b [raster] Honor font-extents for line step with scaling 2026-02-25 16:32:28 -03:00
Behdad Esfahbod ba51d73241 [raster] Scale line-space to font units 2026-02-25 16:30:35 -03:00
Behdad Esfahbod d0149e5e2f [raster] Honor view line-space in line step 2026-02-25 16:28:24 -03:00