aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ftfont.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ftfont.c b/src/ftfont.c
index 00e8237ea7e..2faaf0b01a2 100644
--- a/src/ftfont.c
+++ b/src/ftfont.c
@@ -2805,7 +2805,8 @@ ftfont_shape_by_hb (Lisp_Object lgstring, FT_Face ft_face, hb_font_t *hb_font,
2805 hb_glyph_info_t *info; 2805 hb_glyph_info_t *info;
2806 hb_glyph_position_t *pos; 2806 hb_glyph_position_t *pos;
2807 2807
2808 /* FIXME: cache the buffer */ 2808 /* TODO: cache the buffer for slightly better performance and less
2809 * allocations. */
2809 hb_buffer_t *hb_buffer = hb_buffer_create (); 2810 hb_buffer_t *hb_buffer = hb_buffer_create ();
2810 hb_buffer_pre_allocate (hb_buffer, text_len); 2811 hb_buffer_pre_allocate (hb_buffer, text_len);
2811 2812