From: Khaled Hosny Date: Tue, 5 Jun 2018 13:59:39 +0000 (+0200) Subject: Set cluster level to one X-Git-Tag: emacs-27.0.90~2671^2~55 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=68e675d5cfb3d5b1dcf6b82691663a0f4c157a3a;p=emacs.git Set cluster level to one Makes to possible to edit combining marks separately as now they get a different cluster value from the base glyph. --- diff --git a/src/ftfont.c b/src/ftfont.c index 0990e84ddab..260f259615a 100644 --- a/src/ftfont.c +++ b/src/ftfont.c @@ -2717,6 +2717,7 @@ ftfont_shape_by_hb (Lisp_Object lgstring, FT_Face ft_face, hb_font_t *hb_font, goto done; hb_buffer_set_content_type (hb_buffer, HB_BUFFER_CONTENT_TYPE_UNICODE); + hb_buffer_set_cluster_level (hb_buffer, HB_BUFFER_CLUSTER_LEVEL_MONOTONE_CHARACTERS); /* FIXME: guess_segment_properties is BAD BAD BAD. * we need to get these properties with the LGSTRING. */