Class RemoveSpacesAndUppercaseFamilyNameNormalizer

    • 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.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 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 interface FamilyNameNormalizer
        Parameters:
        familyName - font family name to normalize
        Returns:
        normalized font family name