Commit Graph
20217 Commits
Author SHA1 Message Date
Behdad Esfahbod 9f464bf067 [vector,raster] Export new getter APIs in headers/docs 2026-02-24 19:32:49 -03:00
Behdad Esfahbod 45c8dcf5e3 [vector,raster] Make out getter args consistently nullable 2026-02-24 19:32:23 -03:00
Behdad Esfahbod 7f3c72c9e5 [vector] Move getter gtk-doc blocks to source file 2026-02-24 19:31:24 -03:00
Behdad Esfahbod f997a0ff52 [vector,raster] Mark get_extents out arg nullable in docs 2026-02-24 19:26:29 -03:00
Behdad Esfahbod 3f39f12e20 [vector,raster] Add get_extents APIs for draw/paint contexts 2026-02-24 19:25:35 -03:00
Behdad Esfahbod 7d8c136fd5 [vector] Make paint_glyph use context palette and foreground 2026-02-24 19:20:49 -03:00
Behdad Esfahbod 75a1058ebb [vector] Use HarfBuzz lazy-loader idiom for funcs singletons 2026-02-24 19:17:29 -03:00
Behdad Esfahbod 2f521510f5 [vector] Remove unused paint body buffer 2026-02-24 19:13:22 -03:00
Behdad Esfahbod e9e1a4bbf6 [vector] Preserve paint configuration across render calls 2026-02-24 19:11:57 -03:00
Behdad Esfahbod b276c5dbba [vector] Restore sweep-gradient approximation in SVG paint 2026-02-24 19:00:52 -03:00
Behdad Esfahbod e39e3f6b13 [vector] Remove uncached SVG subset path and harden ref parsing 2026-02-24 18:54:09 -03:00
Behdad Esfahbod 40ec999ace [docs] Drop 12.2.0 index and use placeholder XSince for new SVG range API 2026-02-24 18:35:06 -03:00
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 7929d24ed2 [test] Rename hb-vector-compare to hb-vector-svg-compare 2026-02-24 12:55:11 -03:00
Behdad Esfahbod 0692853d7d [util] Split hb-draw-all and hb-vector-svg-all 2026-02-24 12:53:49 -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 ba6de29374 [docs] Remove libharfbuzz-vector design doc 2026-02-24 12:41:09 -03:00
Behdad Esfahbod f3712527d5 [vector] Guard recycle_blob cache inputs 2026-02-24 12:40:55 -03:00
Behdad Esfahbod edf193095a [docs] Add hb-vector API section and raster glyph entries 2026-02-24 12:37:37 -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 08b8cf5c66 [hb-vector] Skip zero-advance gid1 fallback draw 2026-02-24 10:27:50 -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 032c0931c1 [test] Remove old draw suite paths after vector rename 2026-02-24 10:17:32 -03:00
Behdad Esfahbod 6653d62480 [test/util] Rename draw suite and tools to vector 2026-02-24 10:17:18 -03:00
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