Class RemoveSpacesAndUppercaseFamilyNameNormalizer

java.lang.Object
com.adobe.fontengine.inlineformatting.css20.RemoveSpacesAndUppercaseFamilyNameNormalizer
All Implemented Interfaces:
FamilyNameNormalizer, Serializable

public final class RemoveSpacesAndUppercaseFamilyNameNormalizer extends Object implements FamilyNameNormalizer
RemoveSpacesAndUppercaseNormalizer
See Also:
  • Constructor Details

    • RemoveSpacesAndUppercaseFamilyNameNormalizer

      public RemoveSpacesAndUppercaseFamilyNameNormalizer()
      This FamilyNameNormalizer first removes all characters in the Unicode General Category 'Z'. It then converts them to uppercase using the current default locale.
  • Method Details

    • normalize

      public String normalize(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 interface FamilyNameNormalizer
      Parameters:
      familyName - font family name to normalize
      Returns:
      normalized font family name