]> git.eshelyaron.com Git - emacs.git/commitdiff
Replace another FIXME with a TODO and expanded comment
authorKhaled Hosny <khaledhosny@eglug.org>
Sat, 22 Dec 2018 15:27:29 +0000 (17:27 +0200)
committerKhaled Hosny <khaledhosny@eglug.org>
Sat, 22 Dec 2018 15:27:29 +0000 (17:27 +0200)
src/ftfont.c

index 00e8237ea7e956c501811807bb8995eccc9acd91..2faaf0b01a2b25670f71a939b6d6c72c5d70ab54 100644 (file)
@@ -2805,7 +2805,8 @@ ftfont_shape_by_hb (Lisp_Object lgstring, FT_Face ft_face, hb_font_t *hb_font,
   hb_glyph_info_t *info;
   hb_glyph_position_t *pos;
 
-  /* FIXME: cache the buffer */
+  /* TODO: cache the buffer for slightly better performance and less
+   * allocations. */
   hb_buffer_t *hb_buffer = hb_buffer_create ();
   hb_buffer_pre_allocate (hb_buffer, text_len);