Clarify one FIXME a bit

This commit is contained in:
Khaled Hosny 2018-12-24 04:00:04 +02:00
parent a93668fc43
commit 1a80b5d9b8

View 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;