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