Class FontTextLayoutAssessor

java.lang.Object
net.sf.jasperreports.engine.util.text.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 Details

    • FontTextLayoutAssessor

      public FontTextLayoutAssessor()
  • Method Details

    • 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