From 1a80b5d9b8cfa0e523b596db5d1e7e6074dbee46 Mon Sep 17 00:00:00 2001 From: Khaled Hosny Date: Mon, 24 Dec 2018 04:00:04 +0200 Subject: [PATCH] Clarify one FIXME a bit --- src/ftfont.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ftfont.c b/src/ftfont.c index bc37a6ae0d1..74d72f94abd 100644 --- a/src/ftfont.c +++ b/src/ftfont.c @@ -2850,8 +2850,8 @@ ftfont_shape_by_hb (Lisp_Object lgstring, FT_Face ft_face, hb_font_t *hb_font, return Qnil; glyph_len = hb_buffer_get_length (hb_buffer); - /* FIXME: number of output glyphs can legitimately be larger than number of - * output characters, what to do in this case? */ + /* FIXME: can't we just grew the lgstring in this case? Givving up is an + * overly heavy handed solution. */ if (glyph_len > LGSTRING_GLYPH_LEN (lgstring)) return Qnil; -- 2.39.2