Duplicate :
|
|
Duplicate :
|
|
Duplicate :
|
Name: jk109818 Date: 09/24/2002 FULL PRODUCT VERSION : java version : 1.4.0_01 J2RE, SE : 1.4.0_01-b03 HotSpot client VM : 1.4.0_01-b03 mixed mode FULL OPERATING SYSTEM VERSION : Microsoft Windows XP [5.1.2600] A DESCRIPTION OF THE PROBLEM : The problem is some classes need to know the path to a ttf (or ttc) file to create their own Fonts (not a subClass of java.awt.Font . It would be very interesting if a FilePath java.awt.Font.getFilePath() method existed. Another possibilty would be to have a way of getting the folders in which the font are located (either in the JRE or in the system) and let the user find the wanted files. this could be a FilePath GraphicsEnvironment.getDefaultFontFolders() . REPRODUCIBILITY : This bug can be reproduced always. (Review ID: 164849) ======================================================================
|