Commit Graph
20650 Commits
Author SHA1 Message Date
Behdad Esfahbod b7e019973c [raster] Keep custom palette docs out of hb-raster.h 2026-02-26 17:17:18 -03:00
Behdad Esfahbod 8dc76787fc [raster] Align custom palette API docs with vector 2026-02-26 17:16:08 -03:00
Behdad Esfahbod 0edadf2aa0 [vector] Revert hb-vector-svg-all custom palette wiring 2026-02-26 17:14:31 -03:00
Behdad Esfahbod 781bcead34 [vector] Document and wire custom palette paint APIs 2026-02-26 17:13:03 -03:00
Behdad Esfahbod 1e857b2e5f [util] Make hb-vector palette var cache mutable 2026-02-26 17:02:37 -03:00
Behdad Esfahbod 23e2c603f4 [util] Resolve hb-vector CPAL vars with lazy per-index cache 2026-02-26 17:01:43 -03:00
Behdad Esfahbod f7a0ca52ff [util] Refactor hb-vector palette var rewrite helpers 2026-02-26 17:00:51 -03:00
Behdad Esfahbod 90bd83dfc2 [util] Cache active CPAL colors for hb-vector SVG var rewrite 2026-02-26 17:00:09 -03:00
Behdad Esfahbod 412f215d02 [util] Harden hb-vector var(--colorN) rewrite parser 2026-02-26 16:58:01 -03:00
Behdad Esfahbod 12989d4e6a [util] Align vector/raster defaults with view and update vector baselines 2026-02-26 16:54:28 -03:00
Behdad Esfahbod 2c4c862758 [util] Keep hb-vector default margin at zero 2026-02-26 16:52:25 -03:00
Behdad Esfahbod a4a7f9af84 [util] Resolve SVG var(--colorN) to concrete colors in hb-vector output 2026-02-26 16:32:11 -03:00
Behdad Esfahbod 9b3583f2f6 [util] Emit CPAL CSS vars for SVG var(--colorN) in hb-vector 2026-02-26 16:30:33 -03:00
Behdad Esfahbod fec0d08b76 [util] Hoist shared stroke attrs in hb-vector rainbow draw output 2026-02-26 16:26:54 -03:00
Behdad Esfahbod 1ed094ac68 [util] Apply rainbow colors per glyph in hb-vector draw output 2026-02-26 16:24:45 -03:00
Behdad Esfahbod 51c599ccb9 [vector] Hook --custom-palette in hb-vector paint output 2026-02-26 16:18:56 -03:00
Behdad Esfahbod 8b961af787 [util] Support --rainbow foreground cycling in hb-vector paint path 2026-02-26 16:17:48 -03:00
Behdad Esfahbod 79fdf3ac84 [util] Let hb-vector inherit shared view options 2026-02-26 16:10:17 -03:00
Behdad Esfahbod fbf3c1e218 Fix Coverity issues 2026-02-26 14:03:49 -03:00
Behdad Esfahbod 3c94b1c061 [raster] Compile out all raster SVG translation units with HB_NO_RASTER_SVG 2026-02-26 01:57:39 -03:00
Behdad Esfahbod 52683b3c1c [raster] Add compile-time HB_NO_RASTER_SVG guard 2026-02-26 01:57:39 -03:00
Behdad Esfahbod 8a8705e4d7 Merge pull request #5764 from harfbuzz/raster-svg-improvements
Raster svg improvements
2026-02-25 21:57:23 -07:00
Behdad Esfahbod 6367026d6b [raster] Add length guards to style property dispatch 2026-02-26 01:33:17 -03:00
Behdad Esfahbod 9a56516501 [raster] Group style property dispatch by first letter 2026-02-26 01:32:04 -03:00
Behdad Esfahbod bbd0635b9a [raster] Fast-path common style properties in SVG style parser 2026-02-26 01:30:26 -03:00
Behdad Esfahbod 8fa382dd67 [raster] Guard arc angle math against zero-length vectors 2026-02-26 01:29:50 -03:00
Behdad Esfahbod 16256caf0b [raster] Validate and clamp radial gradient radii 2026-02-26 01:29:40 -03:00
Behdad Esfahbod b3a0ce0e16 [raster] Churn callsites to hb_svg_str_t ASCII-ci methods 2026-02-26 01:28:01 -03:00
Behdad Esfahbod 5a3e4a7750 [raster] Add ASCII-insensitive compare methods to hb_svg_str_t 2026-02-26 01:26:52 -03:00
Behdad Esfahbod faa4c66c38 [raster] Cap gradient href inheritance chain depth 2026-02-26 01:26:29 -03:00
Behdad Esfahbod c965666783 [raster] Match clip-path 'none' keyword case-insensitively 2026-02-26 01:25:43 -03:00
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