java.lang.Object
net.i2p.router.web.GraphRenderer.FontConfig
- Enclosing class:
GraphRenderer
Font family configuration for a specific language. Ordered by preference: first available font in the list is used.
Field Summary
Constructor Summary
Method Summary
Field Details
titleCandidates
monoCandidates
fallbackTitle
Font used for titles when no candidate exists.fallbackMono
Font used for unit labels when no candidate exists.
Constructor Details
FontConfig
FontConfig(List<String> titleCandidates, List<String> monoCandidates, String fallbackTitle, String fallbackMono) Holds the font choices for the graphs.- Parameters:
titleCandidates- the fonts tried for titlesmonoCandidates- the fonts tried for mono textfallbackTitle- the title font to fall back tofallbackMono- the mono font to fall back to