|
Quick Lists
|
|
Bug ID:
|
4337267
|
|
Votes
|
1
|
|
Synopsis
|
Arabic Numeral Shaping
|
|
Category
|
java:classes_swing
|
|
Reported Against
|
merlin
|
|
Release Fixed
|
7(b74)
|
|
State
|
10-Fix Delivered,
request for enhancement
|
|
Priority:
|
2-High
|
|
Related Bugs
|
4210199
,
4336841
,
4828102
,
4231294
|
|
Submit Date
|
11-MAY-2000
|
|
Description
|
RFE 4210199 states the Arabic numeral shaping problem. This RFE proposes fixing it only at the TextLayout level. The vast majority of users never use TextLayout however so for this feature to be visible, it needs to be exposed in the GUI level as well. Since we do not generally support Arabic under AWT, this means supporting it in Swing.
|
|
Work Around
|
N/A
|
|
Evaluation
|
At the minimum, the new TextAttribute should be available through the Swing styled text components. For unstyled text in other components, it should probably be tied into locale somehow.
This feature is common in other platforms and so is needed for competative reasons.
xxxxx@xxxxx 2000-05-10
A new API should be introduced on the TextComponent that allows setting of the appropriate NumericShaper. Any Swing code that creates TextLayout objects should pass this information to the appropriate constructor.
Posted Date : 2007-05-18 14:27:26.0
New client property is recognized on JComponent: TextAttribute.NUMERIC_SHAPING.
Example code (here, `c' is an instance of JComponent):
c.pitClientProperty(TextAttribute.NUMERIC_SHAPING,
NumericShaper.getContextualShaper(NumericShaper.ARABIC));
After this, Arabic numeral shaping is turned on for the component.
In order to turn the shaping off, pass `null' as the property value.
Posted Date : 2009-09-16 12:06:43.0
|
|
Comments
|
PLEASE NOTE: JDK6 is formerly known as Project Mustang
|
|
|
 |