mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-28 00:59:16 +01:00
[NEWS/docs] Update for vector API changes
- Remove draw svg_prefix from New API list and sections.txt - Document pen_x/pen_y removal, dedup removal, _glyph simplification in the Vector library section Assisted-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
31c518df7a
commit
750df72e2b
2 files changed
+12
-15
No files matched your search
@@ -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 <defs>/<use> 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()
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in new issue
Block a user