From cbffff166748e7dada4b66ed1c4f10f495eefa97 Mon Sep 17 00:00:00 2001 From: ZachIR Date: Tue, 8 Jul 2025 21:48:39 -0500 Subject: Add in st-graphics repo --- hb.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'hb.c') diff --git a/hb.c b/hb.c index 99412c8..85de489 100644 --- a/hb.c +++ b/hb.c @@ -102,6 +102,9 @@ void hbtransform(HbTransformData *data, XftFont *xfont, const Glyph *glyphs, int mode = glyphs[glyph_idx].mode; if (mode & ATTR_WDUMMY) hbrunebuffer.runes[rune_idx] = 0x0020; + /* Draw spaces for image placeholders. */ + if (mode & ATTR_IMAGE) + hbrunebuffer.runes[rune_idx] = 0x0020; } hb_buffer_add_codepoints(buffer, hbrunebuffer.runes, length, 0, length); -- cgit v1.2.3