Commit Graph
15681 Commits
Author SHA1 Message Date
Behdad Esfahbod f7d4646d31 [atomic] Try fixing MSVC
D:\a\harfbuzz\harfbuzz\src\hb-atomic.hh(212): note: 'hb_atomic_t<hb_svg_doc_cache_t *> &hb_atomic_t<hb_svg_doc_cache_t *>::operator =(const hb_atomic_t<hb_svg_doc_cache_t *> &)': function was implicitly deleted because a data member invokes a deleted or inaccessible function 'std::atomic<T *> &std::atomic<T *>::operator =(const std::atomic<T *> &)'
        with
        [
            T=hb_svg_doc_cache_t
        ]
2026-02-24 16:57:44 -03:00
Behdad Esfahbod a448c4e235 [vector] Add API parameter docs and placeholder XSince tags 2026-02-24 16:55:15 -03:00
Behdad Esfahbod 24d5eeb223 [vector] Support PNG paint images and fix draw-glyph def caching 2026-02-24 16:48:06 -03:00
Behdad Esfahbod ebdb23879d [ot-color] Add SVG document glyph-range API and use in vector cache 2026-02-24 16:39:39 -03:00
Behdad Esfahbod c5dffd0dfc [vector] Store glyph span cache as pair<uint32_t,uint32_t> 2026-02-24 16:32:34 -03:00
Behdad Esfahbod 4ef28c3eb2 [vector] Require cached glyph spans and use fixed-depth parse stack 2026-02-24 16:31:15 -03:00
Behdad Esfahbod 7ac198f350 [vector] Build SVG defs and glyph-span cache in one linear pass 2026-02-24 16:26:35 -03:00
Behdad Esfahbod 59f42efb2c [vector] Drop eager glyph span indexing to avoid quadratic SVG parse 2026-02-24 16:19:31 -03:00
Behdad Esfahbod 9207a61b35 [ot-color][vector] Add SVG doc-index API and cache by document index 2026-02-24 14:52:45 -03:00
Behdad Esfahbod ea0d6d1838 [vector] Keep paint_glyph running when extents expansion fails 2026-02-24 14:27:26 -03:00
Behdad Esfahbod 86e0e55b70 [vector] Make format constructor-time and drop set_format APIs 2026-02-24 14:01:39 -03:00
Behdad Esfahbod ae4038ea62 [vector] Tune down SVG buffer preallocation sizes 2026-02-24 13:58:01 -03:00
Behdad Esfahbod 4b730621f8 [vector] Fix cached paint body writes and bounded SVG header scan 2026-02-24 13:49:05 -03:00
Behdad Esfahbod ddd5a96983 [vector] Reuse scratch storage for gradient color stops 2026-02-24 13:39:25 -03:00
Behdad Esfahbod b1b4e93f75 [vector] Format directly into SVG output buffer 2026-02-24 13:37:08 -03:00
Behdad Esfahbod 8a2751e62e [vector] Simplify SVG blob metadata state handling 2026-02-24 13:32:16 -03:00
Behdad Esfahbod e2a013ac0a [vector] Reuse blob metadata across SVG render recycling 2026-02-24 13:29:51 -03:00
Behdad Esfahbod 9ab5ecaac8 [vector] Preallocate SVG buffers in render and subset paths 2026-02-24 13:17:09 -03:00
Behdad Esfahbod 96cbf70c4b [vector] Move SVG subsetting into dedicated helper 2026-02-24 13:13:54 -03:00
Behdad Esfahbod 16fb372ed4 [vector] Use xlocale-only decimal separator path 2026-02-24 12:49:40 -03:00
Behdad Esfahbod 18a22b2f08 [vector] Use xlocale-guarded decimal separator lookup 2026-02-24 12:48:41 -03:00
Behdad Esfahbod f3712527d5 [vector] Guard recycle_blob cache inputs 2026-02-24 12:40:55 -03:00
Behdad Esfahbod 2ad3d3c9e2 [vector] Fail SVG image paint when subsetting fails 2026-02-24 12:35:31 -03:00
Behdad Esfahbod 191f41750f [vector] Keep SVG image glyphs upright 2026-02-24 12:34:10 -03:00
Behdad Esfahbod 5c8115e5ad [vector] Subset SVG glyph content and fix SVG slicing 2026-02-24 12:30:30 -03:00
Behdad Esfahbod fcf786be6c [vector] Avoid caching SVG image color glyph output 2026-02-24 10:22:38 -03:00
Behdad Esfahbod 83f011f5f6 [vector] Improve transform numeric precision stability 2026-02-24 10:19:21 -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 344c12ca15 Add vector paint glyph convenience API and auto-extents 2026-02-24 09:19:04 -03:00
Behdad Esfahbod a343292e5d Improve hb-vector SVG reuse output orientation and units 2026-02-24 09:09:53 -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 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 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 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