aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhaled Hosny2018-12-22 17:27:29 +0200
committerKhaled Hosny2018-12-22 17:27:29 +0200
commite1424cb4d89a709c986411ffd29774375bd76800 (patch)
treea70308f4894e1ba87aae42927a95fb31d4cd4133
parenta8862800ed6d0460d882a88737e390a46ff65bc4 (diff)
downloademacs-e1424cb4d89a709c986411ffd29774375bd76800.tar.gz
emacs-e1424cb4d89a709c986411ffd29774375bd76800.zip
Replace another FIXME with a TODO and expanded comment
-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