aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhaled Hosny2018-12-24 04:00:04 +0200
committerKhaled Hosny2018-12-24 04:00:04 +0200
commit1a80b5d9b8cfa0e523b596db5d1e7e6074dbee46 (patch)
treed1cb731f2cd6c4e17217ea4e3c6a19e0be736200
parenta93668fc4384de66895b04fd54ed5edfbe3e47d6 (diff)
downloademacs-1a80b5d9b8cfa0e523b596db5d1e7e6074dbee46.tar.gz
emacs-1a80b5d9b8cfa0e523b596db5d1e7e6074dbee46.zip
Clarify one FIXME a bit
-rw-r--r--src/ftfont.c4
1 files 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,
2850 return Qnil; 2850 return Qnil;
2851 2851
2852 glyph_len = hb_buffer_get_length (hb_buffer); 2852 glyph_len = hb_buffer_get_length (hb_buffer);
2853 /* FIXME: number of output glyphs can legitimately be larger than number of 2853 /* FIXME: can't we just grew the lgstring in this case? Givving up is an
2854 * output characters, what to do in this case? */ 2854 * overly heavy handed solution. */
2855 if (glyph_len > LGSTRING_GLYPH_LEN (lgstring)) 2855 if (glyph_len > LGSTRING_GLYPH_LEN (lgstring))
2856 return Qnil; 2856 return Qnil;
2857 2857