Commit Graph
20171 Commits
Author SHA1 Message Date
Behdad Esfahbod 612e996780 [hb-vector] Apply foreground color to draw output 2026-02-24 10:07:06 -03:00
Behdad Esfahbod e75024e104 [util] Share margin parser and add vector background/margin options 2026-02-24 10:05:32 -03:00
Behdad Esfahbod a9598bf99f [hb-vector] Route --ink through glyph extents mode 2026-02-24 09:57:54 -03:00
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 5314059602 [vector] Fix combined SVG slicing for nested SVG content 2026-02-24 09:24:09 -03:00
Behdad Esfahbod 344c12ca15 Add vector paint glyph convenience API and auto-extents 2026-02-24 09:19:04 -03:00
Behdad Esfahbod f108e8b349 Fix hb-vector baseline by computing extents in SVG space 2026-02-24 09:11:14 -03:00
Behdad Esfahbod a343292e5d Improve hb-vector SVG reuse output orientation and units 2026-02-24 09:09:53 -03:00
Behdad Esfahbod f67799a819 Use hb-raster glyph convenience APIs in raster tools 2026-02-24 09:05:12 -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 5b67629871 Port hb-vector utility to hb_vector API 2026-02-24 08:55:27 -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 daba58ea97 util/raster-all: render paint output only on success 2026-02-24 05:34:40 -03:00
Behdad Esfahbod df8892d2b1 Merge pull request #5758 from harfbuzz/raster-paint-speedup
Raster paint speedup and other improvements
2026-02-24 01:17:06 -07: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 e13b688611 util: use hb_memcpy/hb_memset for raster paths 2026-02-24 04:08:43 -03:00
Behdad Esfahbod 3fd6adf678 util/raster: use hb_raster_image_t as output buffer 2026-02-24 04:05:44 -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