Interface FamilyNameNormalizer

All Superinterfaces:
Serializable
All Known Implementing Classes:
PassThroughFamilyNameNormalizer, RemoveSpacesAndUppercaseFamilyNameNormalizer

public interface FamilyNameNormalizer extends Serializable
This interface is what must be implemented to over ride the default font family name normalization used by the CSS20FontSet.
  • Method Summary

    Modifier and Type
    Method
    Description
    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.
  • Method Details

    • normalize

      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. Family names that are identical with normalization are treated as being identical for all uses by the CSS20FontSet.
      Parameters:
      familyName - font family name to normalize
      Returns:
      normalized font family name