JDK-6402303 : expose copyright and trademark information in java.awt.Font
  • Type: Enhancement
  • Component: client-libs
  • Sub-Component: 2d
  • Affected Version: 6
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2006-03-22
  • Updated: 2010-04-02
  • Resolved: 2006-03-22
Related Reports
Duplicate :  
Description
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.

Comments
EVALUATION It is extremely unlikely we will provide a specific getter for this, but we do have an RFE to expose the tables so a program can relatively trivially extract the information. Closing as a dup of that RFE :4752644
22-03-2006