-
- All Known Implementing Classes:
StandardFontMapper
public interface FontMapper
An object that can (optionally) translate one font family name to an alternative. AFontMapperis assigned to anSVGGraphics2Dinstance. The default implementation will map Java logical font names to the equivalent SVG generic font names.- Since:
- 1.5
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringmapFont(java.lang.String family)Maps the specified font family name to an alternative, or else returns the same family name.
-
-
-
Method Detail
-
mapFont
java.lang.String mapFont(java.lang.String family)
Maps the specified font family name to an alternative, or else returns the same family name.- Parameters:
family- the font family name (nullnot permitted).- Returns:
- The same font family name or an alternative (never
null).
-
-