Class LegacyTextLayoutAssessor

  • All Implemented Interfaces:
    TextLayoutAssessor

    public class LegacyTextLayoutAssessor
    extends java.lang.Object
    implements TextLayoutAssessor
    Legacy complex text layout implementation.
    Author:
    Lucian Chirita (lucianc@users.sourceforge.net)
    • Field Detail

      • COMPEX_LAYOUT_START_CHAR

        protected static final int COMPEX_LAYOUT_START_CHAR
        See Also:
        Constant Field Values
      • COMPEX_LAYOUT_END_CHAR

        protected static final int COMPEX_LAYOUT_END_CHAR
        See Also:
        Constant Field Values
      • simpleLayoutBlocks

        protected static final java.util.Set<java.lang.Character.UnicodeBlock> simpleLayoutBlocks
    • Constructor Detail

      • LegacyTextLayoutAssessor

        public LegacyTextLayoutAssessor()
    • Method Detail

      • hasComplexLayout

        public boolean hasComplexLayout​(char[] chars)
        Description copied from interface: TextLayoutAssessor
        Determines if a text chunk requires complex text layout.
        Specified by:
        hasComplexLayout in interface TextLayoutAssessor
        Parameters:
        chars - the text chunk
        Returns:
        whether the text requires complex text layout