Commit Graph
20325 Commits
Author SHA1 Message Date
Behdad Esfahbod 2fbc1a1ac2 [raster] Use SVG paint fallback for unresolved gradient chains 2026-02-26 00:46:52 -03:00
Behdad Esfahbod 53bfaeabdd [raster] Always unwind transforms on SVG <use> cycle skip 2026-02-26 00:46:33 -03:00
Behdad Esfahbod 4a4f9f2b7a [raster] Treat symbol as container in SVG child-skip logic 2026-02-26 00:45:04 -03:00
Behdad Esfahbod 2622fe92e8 [raster] Validate objectBoundingBox dimensions before mapping 2026-02-26 00:44:45 -03:00
Behdad Esfahbod 6e7a6138ce [raster] Ignore <defs> geometry in clipPath collection 2026-02-26 00:44:23 -03:00
Behdad Esfahbod 11234bfea0 [raster] Apply viewBox mapping for clipPath <use> svg/symbol refs 2026-02-26 00:43:36 -03:00
Behdad Esfahbod 48f9bbf814 [raster] Refactor SVG clipPath collection helpers 2026-02-26 00:41:53 -03:00
Behdad Esfahbod 5cad3ea5bc [raster] Inherit visibility through nested clipPath content 2026-02-26 00:41:13 -03:00
Behdad Esfahbod 68be92bdef [raster] Honor preserveAspectRatio for SVG <use> viewports 2026-02-26 00:40:48 -03:00
Behdad Esfahbod 0b03fe5ad6 [raster] Traverse container targets for clipPath <use> refs 2026-02-26 00:40:16 -03:00
Behdad Esfahbod 2f6fdda0c3 [raster] Guard clipPath <use> reference cycles with hb_decycler_t 2026-02-26 00:39:16 -03:00
Behdad Esfahbod 124d92f907 [raster] Support <use> shapes inside SVG clipPath 2026-02-26 00:37:19 -03:00
Behdad Esfahbod d57bd72030 [raster] Respect visibility when collecting clipPath shapes 2026-02-26 00:35:19 -03:00
Behdad Esfahbod e89ebd73b3 [raster] Honor style transform in SVG clipPath parsing 2026-02-26 00:34:21 -03:00
Behdad Esfahbod 966a1c2849 [raster] Handle nested transforms in SVG clipPath content 2026-02-26 00:34:06 -03:00
Behdad Esfahbod ef73c6ef52 [raster] Apply empty SVG clipPath definitions as empty clips 2026-02-26 00:33:27 -03:00
Behdad Esfahbod 28dc8f6a6c [raster] Require local fragment IDs for SVG refs 2026-02-26 00:31:41 -03:00
Behdad Esfahbod 5f4deabc95 [raster] Sanitize non-finite SVG numeric parses 2026-02-26 00:30:15 -03:00
Behdad Esfahbod ce91e95c9d [raster] Remove fixed SVG gradient href-chain limit 2026-02-26 00:29:48 -03:00
Behdad Esfahbod c24c7b7cd1 [raster] Improve SVG <use> viewport behavior 2026-02-26 00:29:19 -03:00
Behdad Esfahbod 7eec97483b [raster] De-duplicate SVG defs scan dispatch 2026-02-26 00:26:33 -03:00
Behdad Esfahbod f90d1391ee [raster] Use span IDs for SVG defs and references 2026-02-26 00:25:58 -03:00
Behdad Esfahbod 503d216ef2 [raster] Share SVG href and id-ref parsing helpers 2026-02-26 00:24:37 -03:00
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