Class RemoveSpacesAndUppercaseFamilyNameNormalizer
- java.lang.Object
-
- com.adobe.fontengine.inlineformatting.css20.RemoveSpacesAndUppercaseFamilyNameNormalizer
-
- All Implemented Interfaces:
FamilyNameNormalizer
,java.io.Serializable
public final class RemoveSpacesAndUppercaseFamilyNameNormalizer extends java.lang.Object implements FamilyNameNormalizer
RemoveSpacesAndUppercaseNormalizer- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RemoveSpacesAndUppercaseFamilyNameNormalizer()
ThisFamilyNameNormalizer
first removes all characters in the Unicode General Category 'Z'.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
normalize(java.lang.String familyName)
This method takes a font family name and a normalization system is applied to it for use by the CSS20FontSet in searching for fonts.
-
-
-
Method Detail
-
normalize
public java.lang.String normalize(java.lang.String familyName)
Description copied from interface:FamilyNameNormalizer
This method takes a font family name and a normalization system is applied to it for use by the CSS20FontSet in searching for fonts. Family names that are identical with normalization are treated as being identical for all uses by the CSS20FontSet.- Specified by:
normalize
in interfaceFamilyNameNormalizer
- Parameters:
familyName
- font family name to normalize- Returns:
- normalized font family name
-
-