| Modifier and Type | Field and Description |
|---|---|
| private static final Map | fontDetailsMap
Our cache of font details we've already looked up |
| private static Properties | fontMetricsProps
The font metrics property file we're using |
| private static final Logger |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static synchronized FontDetails | Returns: the fake font.the font to lookup. font)Retrieves the fake font details for a given font. |
| private static Properties |
| fontDetailsMap | back to summary |
|---|---|
| private static final Map<String, FontDetails> fontDetailsMap Our cache of font details we've already looked up | |
| fontMetricsProps | back to summary |
|---|---|
| private static Properties fontMetricsProps The font metrics property file we're using | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| StaticFontMetrics | back to summary |
|---|---|
| private StaticFontMetrics() | |
| getFontDetails | back to summary |
|---|---|
| public static synchronized FontDetails getFontDetails(Font font) Retrieves the fake font details for a given font.
| |
| loadMetrics | back to summary |
|---|---|
| private static Properties loadMetrics() throws IOException | |