-
Bug
-
Resolution: Duplicate
-
P2
-
None
-
1.2.0
-
generic
-
generic
Name: bb33257 Date: 02/13/98
Font has API that defines public constants that are only used
in an implementation mockup designed for testing on 1.1.x
releases. These constants should be removed.
It has public API that uses a class, FontObject, that is private
and that clients should not use.
In addition, Font has API that is unnecessary and encourages
programmers to write non-internationalizable code. This API
should be removed.
The following are prototype implementation constants:
public static final ints MAX_STANDARD, MAX_LIGATURE,
MAX_COMBINING, and MAX_COMPONENT.
The following uses an implementation-only class in public api:
public Font(FontObject)
The following call is implementation only:
public float[] getMetrics(GlyphSet, AffineTransform)
The following call does not support bidirectional text or text
that requires multiple baselines:
public GlyphSet getGlyphSet(String)
The following calls will not work properly for international
text that requires shaping or reordering.
public float getAdvance(char)
public float getAdvance(char[])
======================================================================
- duplicates
-
JDK-4130437 Font cleanup
-
- Closed
-