public interface FontMapper
FontMapper
is assigned to an
SVGGraphics2D
instance. The default implementation will map
Java logical font names to the equivalent SVG generic font names.Modifier and Type | Method and Description |
---|---|
java.lang.String |
mapFont(java.lang.String family)
Maps the specified font family name to an alternative, or else returns
the same family name.
|
java.lang.String mapFont(java.lang.String family)
family
- the font family name (null
not permitted).null
).