-
Enhancement
-
Resolution: Unresolved
-
P4
-
None
-
1.4.0, 1.4.1, 6
-
Fix Understood
-
x86
-
windows_xp
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)
======================================================================
- duplicates
-
JDK-6402253 expose fsType in java.awt.Font
- Closed
-
JDK-6402303 expose copyright and trademark information in java.awt.Font
- Closed
-
JDK-8284730 Be able to get font path
- Closed