Commit Graph
20369 Commits
Author SHA1 Message Date
Behdad Esfahbod 9f21f45d3f [raster] Parse SVG transform function names case-insensitively 2026-02-26 01:25:28 -03:00
Behdad Esfahbod 5659d5dc89 [raster] Simplify gradient style parsing path 2026-02-26 01:24:53 -03:00
Behdad Esfahbod edf70c23d7 [raster] Parse clipPathUnits values case-insensitively 2026-02-26 01:24:20 -03:00
Behdad Esfahbod d48d888b38 [raster] Handle hidden gradient stops and monotonic offsets 2026-02-26 01:24:09 -03:00
Behdad Esfahbod 520928c4e4 [raster] Add radial gradient fr support 2026-02-26 01:18:40 -03:00
Behdad Esfahbod 5427e20e20 [raster] Match preserveAspectRatio align tokens case-insensitively 2026-02-26 01:17:56 -03:00
Behdad Esfahbod 34438c8bdf [raster] Parse gradient spread/units values case-insensitively 2026-02-26 01:17:42 -03:00
Behdad Esfahbod a70d4189bc [raster] Support style fallback for gradient geometry and attrs 2026-02-26 01:17:12 -03:00
Behdad Esfahbod 062fa57c85 [raster] Use hb_decycler_t for gradient href cycle detection 2026-02-26 01:16:21 -03:00
Behdad Esfahbod a4b05d135d [raster] Centralize SVG container tag checks 2026-02-26 01:15:54 -03:00
Behdad Esfahbod f52b058db2 [raster] Remove unused hb_svg_str_t helpers 2026-02-26 01:15:20 -03:00
Behdad Esfahbod 588faa2da2 [raster] Treat SVG <a> as a container in render and clip traversal 2026-02-26 01:15:01 -03:00
Behdad Esfahbod 9e44a08250 [raster] Share SVG use geometry parsing helper 2026-02-26 01:14:14 -03:00
Behdad Esfahbod 9988fd26d5 [raster] Share use target viewport mapping helper 2026-02-26 01:13:46 -03:00
Behdad Esfahbod 3b9a860ce8 [raster] Simplify primitive SVG render helper signature 2026-02-26 01:10:59 -03:00
Behdad Esfahbod be096d50bd [raster] Treat percent x/y as unresolved in SVG viewport positioning 2026-02-26 01:10:33 -03:00
Behdad Esfahbod 8fc7d8f2cc [raster] Reject negative rect corner radii in SVG parsing 2026-02-26 01:09:33 -03:00
Behdad Esfahbod 1198ff51d6 [raster] Treat percent viewport sizes as unresolved in SVG mapping 2026-02-26 01:08:17 -03:00
Behdad Esfahbod bb8a6f73e3 [raster] Remove truncating id copy in SVG glyph fallback scan 2026-02-26 01:06:49 -03:00
Behdad Esfahbod 3eff4faa4d [raster] Reuse shared visibility resolver in clipPath parsing 2026-02-26 01:06:22 -03:00
Behdad Esfahbod d19699d089 [raster] Read target style width/height for SVG <use> viewport fallback 2026-02-26 01:05:44 -03:00
Behdad Esfahbod 8523cf7a82 [raster] Reuse shared shape parser for primitive SVG rendering 2026-02-26 01:05:05 -03:00
Behdad Esfahbod d52b612f45 [raster] Parse shape geometry properties from SVG style 2026-02-26 01:04:34 -03:00
Behdad Esfahbod 87ba001253 [raster] Reuse shared viewBox parser in SVG container rendering 2026-02-26 01:03:10 -03:00
Behdad Esfahbod 4f75ddb6f3 [raster] Support style geometry on nested SVG viewport elements 2026-02-26 01:02:48 -03:00
Behdad Esfahbod 3bcaf95acf [raster] Support style x/y/width/height on SVG <use> 2026-02-26 01:01:39 -03:00
Behdad Esfahbod 59d2524bb5 [raster] Share SVG id target lookup helper 2026-02-26 01:00:24 -03:00
Behdad Esfahbod df7e8af129 [raster] Restrict clipPath symbol traversal to direct <use> targets 2026-02-26 00:59:21 -03:00
Behdad Esfahbod c53ee98cfc [raster] Accept defer prefix in preserveAspectRatio parsing 2026-02-26 00:58:32 -03:00
Behdad Esfahbod ba437844f3 [raster] Fallback <use> viewport to viewBox when sizes are absent 2026-02-26 00:58:11 -03:00
Behdad Esfahbod 39a6473638 [raster] Ignore direct symbol nodes inside clipPath defs 2026-02-26 00:57:40 -03:00
Behdad Esfahbod 8a0f99815d [raster] Render symbol elements only when referenced by <use> 2026-02-26 00:57:17 -03:00
Behdad Esfahbod 4d421068e3 [raster] Inherit visibility in clipPath <use> target traversal 2026-02-26 00:56:34 -03:00
Behdad Esfahbod 4f829c9e38 [raster] Guard SVG <use> id-cache lookup on accel presence 2026-02-26 00:56:05 -03:00
Behdad Esfahbod 7a3de1a811 [raster] Avoid duplicate viewBox mapping in clipPath <use> refs 2026-02-26 00:54:52 -03:00
Behdad Esfahbod 71e16a895d [raster] Avoid duplicate viewBox mapping for <use> targets 2026-02-26 00:54:24 -03:00
Behdad Esfahbod 9086843c64 [raster] Apply nested SVG viewBox mapping in clipPath refs 2026-02-26 00:52:40 -03:00
Behdad Esfahbod e835a2ff48 [raster] Apply full viewBox mapping for nested SVG containers 2026-02-26 00:52:22 -03:00
Behdad Esfahbod cc4b5d7154 [raster] Apply nested SVG x/y offsets in clipPath traversal 2026-02-26 00:51:53 -03:00
Behdad Esfahbod 094dc4a0fb [raster] Honor x/y positioning on nested SVG containers 2026-02-26 00:51:37 -03:00
Behdad Esfahbod f49a8393f1 [raster] Share SVG viewBox transform helpers 2026-02-26 00:51:03 -03:00
Behdad Esfahbod 31d2d6efe7 [raster] Fix preserveAspectRatio alignment token parsing 2026-02-26 00:49:27 -03:00
Behdad Esfahbod eb0e29d3c0 [raster] Simplify clipPath <use> decycler flow 2026-02-26 00:48:21 -03:00
Behdad Esfahbod 50ef120ef3 [raster] Fallback to target viewport size for SVG <use> mapping 2026-02-26 00:47:58 -03:00
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