Enum Class BufferClusterLevel

java.lang.Object
java.lang.Enum<BufferClusterLevel>
org.freedesktop.harfbuzz.BufferClusterLevel
All Implemented Interfaces:
Enumeration, Serializable, Comparable<BufferClusterLevel>, Constable

@Generated("io.github.jwharm.JavaGI") public enum BufferClusterLevel extends Enum<BufferClusterLevel> implements Enumeration
Data type for holding HarfBuzz's clustering behavior options. The cluster level dictates one aspect of how HarfBuzz will treat non-base characters during shaping.

In HBBUFFERCLUSTERLEVELMONOTONEGRAPHEMES, non-base characters are merged into the cluster of the base character that precedes them.

In HBBUFFERCLUSTERLEVELMONOTONECHARACTERS, non-base characters are initially assigned their own cluster values, which are not merged into preceding base clusters. This allows HarfBuzz to perform additional operations like reorder sequences of adjacent marks.

HBBUFFERCLUSTERLEVELMONOTONEGRAPHEMES is the default, because it maintains backward compatibility with older versions of HarfBuzz. New client programs that do not need to maintain such backward compatibility are recommended to use HBBUFFERCLUSTERLEVELMONOTONECHARACTERS instead of the default.