From 533246778a304948a9a4394799d2bd01ffcbf1ac Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Thu, 16 Apr 2026 18:50:25 -0600 Subject: [PATCH] [NEWS] Nit --- NEWS | 4 ++-- test/vector/data/expected/basic/handwriting-cff-colr-1.svg | 1 + test/vector/data/expected/basic/handwriting-glyf-colr-1.svg | 1 + test/vector/data/expected/basic/handwriting-sbix.svg | 1 + util/vector-output.hh | 3 +-- 5 files changed, 6 insertions(+), 4 deletions(-) diff --git a/NEWS b/NEWS index 0eb18b4f8..8f580f396 100644 --- a/NEWS +++ b/NEWS @@ -132,8 +132,8 @@ Overview of changes leading to NEXT (REPLACEME) +hb_raster_paint_glyph_or_fail() +hb_raster_paint_set_palette() +hb_raster_paint_get_palette() - +hb_raster_paint_get_foreground - +hb_raster_paint_set_background + +hb_raster_paint_get_foreground() + +hb_raster_paint_set_background() +hb_raster_paint_get_background() - New API, Vector library: diff --git a/test/vector/data/expected/basic/handwriting-cff-colr-1.svg b/test/vector/data/expected/basic/handwriting-cff-colr-1.svg index f559a7231..a3137c2e7 100644 --- a/test/vector/data/expected/basic/handwriting-cff-colr-1.svg +++ b/test/vector/data/expected/basic/handwriting-cff-colr-1.svg @@ -105,5 +105,6 @@ + diff --git a/test/vector/data/expected/basic/handwriting-glyf-colr-1.svg b/test/vector/data/expected/basic/handwriting-glyf-colr-1.svg index 47a3dca01..daab0592e 100644 --- a/test/vector/data/expected/basic/handwriting-glyf-colr-1.svg +++ b/test/vector/data/expected/basic/handwriting-glyf-colr-1.svg @@ -105,5 +105,6 @@ + diff --git a/test/vector/data/expected/basic/handwriting-sbix.svg b/test/vector/data/expected/basic/handwriting-sbix.svg index 41797a376..9a42a36ad 100644 --- a/test/vector/data/expected/basic/handwriting-sbix.svg +++ b/test/vector/data/expected/basic/handwriting-sbix.svg @@ -8,5 +8,6 @@ + diff --git a/util/vector-output.hh b/util/vector-output.hh index 4990a2f87..183674a37 100644 --- a/util/vector-output.hh +++ b/util/vector-output.hh @@ -203,8 +203,7 @@ struct vector_output_t : output_options_t<>, view_options_t hb_vector_paint_set_scale_factor (paint, scale, scale); hb_vector_paint_set_extents (paint, &extents); hb_vector_paint_set_foreground (paint, foreground); - if (has_background) - hb_vector_paint_set_background (paint, background); + hb_vector_paint_set_background (paint, background); hb_vector_paint_set_palette (paint, this->palette); apply_custom_palette (paint); init_palette_color_cache ();