diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ftfont.c | 4 |
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 | ||