Class NameHeuristics


  • public final class NameHeuristics
    extends java.lang.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​(java.lang.String fullName)
      • weightNameToWeight

        public static int weightNameToWeight​(java.lang.String weightName)
      • fullNameIndicatesSmallCaps

        public static boolean fullNameIndicatesSmallCaps​(java.lang.String fullName)
      • fullNameIndicatesDingbats

        public static boolean fullNameIndicatesDingbats​(java.lang.String name)