[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] harfbuzz 68e675d 5/7: Set cluster level to one
From: |
Khaled Hosny |
Subject: |
[Emacs-diffs] harfbuzz 68e675d 5/7: Set cluster level to one |
Date: |
Sun, 9 Dec 2018 17:09:22 -0500 (EST) |
branch: harfbuzz
commit 68e675d5cfb3d5b1dcf6b82691663a0f4c157a3a
Author: Khaled Hosny <address@hidden>
Commit: Khaled Hosny <address@hidden>
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.
---
src/ftfont.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/ftfont.c b/src/ftfont.c
index 0990e84..260f259 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. */
- [Emacs-diffs] branch harfbuzz created (now 981b3d2), Khaled Hosny, 2018/12/09
- [Emacs-diffs] harfbuzz ca0b6e9 4/7: Cache hb_font_t, Khaled Hosny, 2018/12/09
- [Emacs-diffs] harfbuzz 9014e05 3/7: Allow turning HarfBuzz off at run time, Khaled Hosny, 2018/12/09
- [Emacs-diffs] harfbuzz ab93444 1/7: Add support for building with HarfBuzz, Khaled Hosny, 2018/12/09
- [Emacs-diffs] harfbuzz 0a1e695 6/7: WIP: implement some Unicode callback functions, Khaled Hosny, 2018/12/09
- [Emacs-diffs] harfbuzz a2bea37 2/7: First attempt at HarfBuzz shaping, Khaled Hosny, 2018/12/09
- [Emacs-diffs] harfbuzz 981b3d2 7/7: Fix uni_combining(), Khaled Hosny, 2018/12/09
- [Emacs-diffs] harfbuzz 68e675d 5/7: Set cluster level to one,
Khaled Hosny <=