]> git.eshelyaron.com Git - emacs.git/commitdiff
Clarify one FIXME a bit
authorKhaled Hosny <khaledhosny@eglug.org>
Mon, 24 Dec 2018 02:00:04 +0000 (04:00 +0200)
committerKhaled Hosny <khaledhosny@eglug.org>
Mon, 24 Dec 2018 02:00:04 +0000 (04:00 +0200)
src/ftfont.c

index bc37a6ae0d11ee47c5bc831aacb52521749a8fef..74d72f94abd7ffe4e0e78f2ad32f8d6d93a9ee57 100644 (file)
@@ -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;