Class NameHeuristics
- java.lang.Object
-
- com.adobe.fontengine.font.postscript.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 Summary
Constructors Constructor Description NameHeuristics()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
fullNameIndicatesDingbats(String name)
static boolean
fullNameIndicatesSmallCaps(String fullName)
static int
fullNameToWeight(String fullName)
static CSS20Attribute.CSSStretchValue
fullNameToWidth(String fullName, String familyName)
static int
weightNameToWeight(String weightName)
-
-
-
Method Detail
-
fullNameToWeight
public static int fullNameToWeight(String fullName)
-
weightNameToWeight
public static int weightNameToWeight(String weightName)
-
fullNameToWidth
public static CSS20Attribute.CSSStretchValue fullNameToWidth(String fullName, String familyName)
-
fullNameIndicatesSmallCaps
public static boolean fullNameIndicatesSmallCaps(String fullName)
-
fullNameIndicatesDingbats
public static boolean fullNameIndicatesDingbats(String name)
-
-