United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-4390880 RFE: Font.createFont() API needs to support Type 1 fonts (in addition to TrueTyp
JDK-4390880 : RFE: Font.createFont() API needs to support Type 1 fonts (in addition to TrueTyp

Details
Type:
Enhancement
Submit Date:
2000-11-20
Status:
Resolved
Updated Date:
2003-06-25
Project Name:
JDK
Resolved Date:
2003-06-02
Component:
client-libs
OS:
generic
Sub-Component:
2d
CPU:
generic
Priority:
P4
Resolution:
Fixed
Affected Versions:
1.3.0,1.4.0
Fixed Versions:
5.0 (tiger)

Related Reports
Duplicate:

Sub Tasks

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
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
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
CONVERTED DATA

BugTraq+ Release Management Values

COMMIT TO FIX:
tiger

FIXED IN:
tiger

INTEGRATED IN:
tiger
tiger-b08


                                     
2004-06-14



Hardware and Software, Engineered to Work Together