Class NameHeuristics


  • public final class NameHeuristics
    extends Object
    A class containing static methods that do name manipulation for legacy type1 fonts.

    Synchronization

    This class represents a namespace. It does not contain instance data or mutable static data. It is therefore threadsafe.
    • Constructor Detail

      • NameHeuristics

        public NameHeuristics()
    • Method Detail

      • fullNameToWeight

        public static int fullNameToWeight​(String fullName)
      • weightNameToWeight

        public static int weightNameToWeight​(String weightName)
      • fullNameIndicatesSmallCaps

        public static boolean fullNameIndicatesSmallCaps​(String fullName)
      • fullNameIndicatesDingbats

        public static boolean fullNameIndicatesDingbats​(String name)