Interface FamilyNameNormalizer
-
- All Superinterfaces:
java.io.Serializable
- All Known Implementing Classes:
PassThroughFamilyNameNormalizer
,RemoveSpacesAndUppercaseFamilyNameNormalizer
public interface FamilyNameNormalizer extends java.io.Serializable
This interface is what must be implemented to over ride the default font family name normalization used by the CSS20FontSet.
-
-
Method Summary
All Methods Instance Methods Abstract 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.
-
-
-
Method Detail
-
normalize
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. 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
-
-