Class FontTextLayoutAssessor

  • All Implemented Interfaces:
    TextLayoutAssessor

    public class FontTextLayoutAssessor
    extends Object
    implements TextLayoutAssessor
    Complex text layout check that uses Java 9 Font.
    Author:
    Lucian Chirita (lucianc@users.sourceforge.net)
    • Constructor Detail

      • FontTextLayoutAssessor

        public FontTextLayoutAssessor()
    • Method Detail

      • available

        public boolean available()
      • 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