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.
This commit is contained in:
parent
ca0b6e90f8
commit
68e675d5cf
1 changed files with 1 additions and 0 deletions
|
@ -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. */
|
||||
|
|
Loading…
Add table
Reference in a new issue