diff --git a/NEWS b/NEWS index 58b96ff3e..8a6a35061 100644 --- a/NEWS +++ b/NEWS @@ -42,17 +42,18 @@ Overview of changes leading to NEXT (REPLACEME) can be embedded directly in PDF documents -- useful for PDF producers such as LibreOffice that want crisp, resolution- independent color emoji. - * New per-render SVG id prefix API - (hb_vector_{draw,paint}_set_svg_prefix): callers that - embed several hb-vector-produced SVGs in the same - document can namespace each one's emitted ids - (clipPaths, gradients, color-glyph cache) so url(#...) - refs across snippets no longer resolve to the wrong - target. - * Drop the flat-mode API. Inlining geometry / disabling - glyph reuse was mainly a workaround for cross-snippet - SVG id collisions; the svg-prefix API above solves that - without giving up the cache. + * SVG id prefix API moved to paint only + (hb_vector_paint_set_svg_prefix); the draw path now + emits flat inline SVG with no id references and no + longer needs a prefix. + * Removed pen_x/pen_y parameters from all vector and + raster _glyph functions. Callers use set_transform() + for glyph positioning instead. + * Removed glyph path dedup from vector draw and paint. + Each glyph is emitted inline; no / caching. + * _glyph() functions are now thin convenience wrappers + documented as equivalent expansions of the underlying + font draw/paint API. * Drop glyph-source rendering of SVG-in-OT fonts. - Raster library: @@ -161,8 +162,6 @@ Overview of changes leading to NEXT (REPLACEME) +hb_vector_draw_get_foreground() +hb_vector_draw_set_background() +hb_vector_draw_get_background() - +hb_vector_draw_set_svg_prefix() - +hb_vector_draw_get_svg_prefix() +hb_vector_paint_clear() +hb_vector_paint_get_precision() +hb_vector_paint_get_format() diff --git a/docs/harfbuzz-sections.txt b/docs/harfbuzz-sections.txt index 66d6f9d5c..5390a46f7 100644 --- a/docs/harfbuzz-sections.txt +++ b/docs/harfbuzz-sections.txt @@ -1112,8 +1112,6 @@ hb_vector_draw_set_foreground hb_vector_draw_get_foreground hb_vector_draw_set_background hb_vector_draw_get_background -hb_vector_draw_set_svg_prefix -hb_vector_draw_get_svg_prefix hb_vector_draw_render hb_vector_draw_clear hb_vector_draw_reset