Static cache that holds the font metrics for the fonts. This can generally
speed up drawing if the metrics are not cached directly by the system.
author: Miloslav Metelka version: 1.00
Clear all the metrics from the cache. It's usually done when any of the
editor ui is being garbage collected to ensure there will be no more
unused metrics.
Get the font-metrics for the given font.
Parameters: font - font for which the metrics is being retrieved. Parameters: c - component that is used to retrieve the metrics in case it'snot yet in the cache.
Get the font-metrics for the given font.
Parameters: font - font for which the metrics is being retrieved. Parameters: g - graphics that is used to retrieve the metrics in case it's notyet in the cache.
getInfo
public static synchronized Info getInfo(Font f)(Code)
Get the info about the space-width and strike-through and underline
constants.
Parameters: font - font for which the info is being retrieved.