public final class RemoveSpacesAndUppercaseFamilyNameNormalizer extends Object implements FamilyNameNormalizer
Constructor and Description |
---|
RemoveSpacesAndUppercaseFamilyNameNormalizer()
This
FamilyNameNormalizer first removes all characters in the Unicode General Category 'Z'. |
Modifier and Type | Method and Description |
---|---|
String |
normalize(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.
|
public RemoveSpacesAndUppercaseFamilyNameNormalizer()
FamilyNameNormalizer
first removes all characters in the Unicode General Category 'Z'.
It then converts them to uppercase using the current default locale.public String normalize(String familyName)
FamilyNameNormalizer
normalize
in interface FamilyNameNormalizer
familyName
- font family name to normalizeCopyright © 2010 - 2020 Adobe. All Rights Reserved