JDK-4390880 : RFE: Font.createFont() API needs to support Type 1 fonts (in addition to TrueTyp
  • Type: Enhancement
  • Component: client-libs
  • Sub-Component: 2d
  • Affected Version: 1.3.0,1.4.0
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2000-11-20
  • Updated: 2017-05-16
  • Resolved: 2003-06-02
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availabitlity Release.

To download the current JDK release, click here.
Other
5.0 tigerFixed
Related Reports
Duplicate :  
Description

Name: krC82822			Date: 11/20/2000


17 Nov 2000, eval1127@eng -- see also # 4219697 (only TrueType was added)
----------------------------
The 1.3 version of the Font class has a static method called createFont() that
accepts a fontFormat parameter and an InputStream.  Currently only TrueType
fonts are supported by this API (fontFormat == TRUETYPE_FONT).

Support for Adobe Type 1 font rendering should be included in the 1.4 version.
This should be able to support partial fonts as well as complete fonts so that
documents with embedded fonts and partially embedded fonts can be rendered in
Java.
(Review ID: 112468) 
======================================================================

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: tiger FIXED IN: tiger INTEGRATED IN: tiger tiger-b08
2004-06-14

WORK AROUND Copy your Type1 fonts into $JREHOME/lib/fonts. They'll automatically get picked up along with the TrueType fonts in there that ship with the JRE. They'll then be "installed fonts" - no need to use Font.createFont(..) - just use new Font(..). This may not work for everyone but it should work for many cases. ###@###.### 2001-08-14 ============================
2001-08-14

EVALUATION This definitely won't be in merlin. phil.race@eng 2001-07-31 ========================= For tiger (1.5) the implementation and spec has been updated to accept Font.TYPE1_FONT.
2001-07-31