-
Bug
-
Resolution: Fixed
-
P3
-
5.0
-
b56
-
sparc
-
solaris_8
The spec for Graphics.drawString(AttributedCharacterIteractor..) requires to
use "this graphics context's current color." However, the spec for
java.awt.font.textAttribute.FOREGROUND specifies Color.black as the default
when this attribute is absent.
It is also uclear whether FOREGROUND, if defined, takes precedence over the curent color.
###@###.### 2004-09-14
The Graphics2D spec for this API needs to be changed. The graphics current paint is only used as a default when the AttributedCharacterIterator does not specify a foreground paint, or when it does not specify a background paint and the AttributedCharacterIterator specifies SWAP_COLORS=true.
###@###.### 2005-04-14 17:42:53 GMT
use "this graphics context's current color." However, the spec for
java.awt.font.textAttribute.FOREGROUND specifies Color.black as the default
when this attribute is absent.
It is also uclear whether FOREGROUND, if defined, takes precedence over the curent color.
###@###.### 2004-09-14
The Graphics2D spec for this API needs to be changed. The graphics current paint is only used as a default when the AttributedCharacterIterator does not specify a foreground paint, or when it does not specify a background paint and the AttributedCharacterIterator specifies SWAP_COLORS=true.
###@###.### 2005-04-14 17:42:53 GMT