Class RemoveSpacesAndUppercaseFamilyNameNormalizer

    • Constructor Detail

      • 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 Detail

      • 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
        familyName - font family name to normalize
        normalized font family name