-
Enhancement
-
Resolution: Fixed
-
P4
-
9
-
b116
-
x86
-
windows_8
A DESCRIPTION OF THE REQUEST :
Method sun.font.FontUtilities.isComplexCharCode will become inaccessible to Java applications in Java 9. The proposal is to move it (or one of the related methods) to public Java API, so that applications would be able to use it going forward.
Related methods are:
sun.font.FontUtilities.isNonSimpleChar
sun.font.FontUtilities.isComplexText
sun.swing.SwingUtilities2.isComplexLayout
JUSTIFICATION :
Mentioned methods implement important functionality for applications using java.awt.font.GlyphVector instances to render text. They are needed to determine whether 'createGlyphVector' method or 'layoutGlyphVector' method in java.awt.Font class should be used to create a GlyphVector instance - the latter method always produces a desired result, but it's much slower, so the former, quicker, method is usually used in cases where the result is known to be the same.
Method sun.font.FontUtilities.isComplexCharCode will become inaccessible to Java applications in Java 9. The proposal is to move it (or one of the related methods) to public Java API, so that applications would be able to use it going forward.
Related methods are:
sun.font.FontUtilities.isNonSimpleChar
sun.font.FontUtilities.isComplexText
sun.swing.SwingUtilities2.isComplexLayout
JUSTIFICATION :
Mentioned methods implement important functionality for applications using java.awt.font.GlyphVector instances to render text. They are needed to determine whether 'createGlyphVector' method or 'layoutGlyphVector' method in java.awt.Font class should be used to create a GlyphVector instance - the latter method always produces a desired result, but it's much slower, so the former, quicker, method is usually used in cases where the result is known to be the same.
- csr of
-
CCC-8146324 Add sun.font.FontUtilities.isComplexCharCode or related method to public API
-
- Closed
-