summaryrefslogtreecommitdiff
path: root/hb.c
diff options
context:
space:
mode:
Diffstat (limited to 'hb.c')
-rw-r--r--hb.c3
1 files changed, 3 insertions, 0 deletions
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);