From 6f9fbb321b03396297af327d06d1459247893da5 Mon Sep 17 00:00:00 2001 From: Nico Burns Date: Fri, 15 May 2026 21:23:38 +0100 Subject: [PATCH] Shift glyphs up by embolden amount Signed-off-by: Nico Burns --- packages/blitz-paint/src/text.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/blitz-paint/src/text.rs b/packages/blitz-paint/src/text.rs index 4a122faf3..5e9fdaf6a 100644 --- a/packages/blitz-paint/src/text.rs +++ b/packages/blitz-paint/src/text.rs @@ -68,7 +68,7 @@ pub(crate) fn stroke_text<'a>( glyph_run.positioned_glyphs().map(|glyph| anyrender::Glyph { id: glyph.id as _, x: glyph.x, - y: glyph.y, + y: glyph.y - embolden.y as f32, }), );