-
Enhancement
-
Resolution: Duplicate
-
P4
-
None
-
6
-
x86
-
windows_xp
A DESCRIPTION OF THE REQUEST :
The copyright and trademark information should be exposed as getters in java.awt.Font. These values are available in the naming table of TrueType and OpenType fonts.
Documents describing the copyright and trademark strings in the naming table:
http://www.microsoft.com/typography/tt/ttf_spec/ttch02.doc
http://www.microsoft.com/typography/otspec/name.htm
JUSTIFICATION :
It is helpful to be able to display the copyright and trademark information to users. It also sometimes required to embed this information into an application that uses the font.
CUSTOMER SUBMITTED WORKAROUND :
Use Batik or another third-party tool for handling fonts. This makes dealing with system fonts in a way similar to the JDK difficult, however.
The copyright and trademark information should be exposed as getters in java.awt.Font. These values are available in the naming table of TrueType and OpenType fonts.
Documents describing the copyright and trademark strings in the naming table:
http://www.microsoft.com/typography/tt/ttf_spec/ttch02.doc
http://www.microsoft.com/typography/otspec/name.htm
JUSTIFICATION :
It is helpful to be able to display the copyright and trademark information to users. It also sometimes required to embed this information into an application that uses the font.
CUSTOMER SUBMITTED WORKAROUND :
Use Batik or another third-party tool for handling fonts. This makes dealing with system fonts in a way similar to the JDK difficult, however.
- duplicates
-
JDK-4752644 RFE: Getting a java.awt.Font's FilePath
-
- Open
-