-
Bug
-
Resolution: Fixed
-
P4
-
7u6
See T2KFontFactory#getFullNameToFileMap lines 1429-1439, that is where the jre fonts are loaded in the font factory tables.
The bug is that this method eventually access the fontToFileMap table, which is null at this point (only initialized on line 1449).
(the NPE is catched and ignored in the code (inside of populateFontFileNameMapGeneric).
As results the jre fonts are not loaded properly, for example Font.getFontNames("Lucida Sans") returns an empty list.
The bug is that this method eventually access the fontToFileMap table, which is null at this point (only initialized on line 1449).
(the NPE is catched and ignored in the code (inside of populateFontFileNameMapGeneric).
As results the jre fonts are not loaded properly, for example Font.getFontNames("Lucida Sans") returns an empty list.
- duplicates
-
JDK-8126453 Inconsistent list of font families when using Font API
- Closed