-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
1.2.2
-
x86
-
windows_nt
Name: clC74495 Date: 08/09/99
For test case, see "Attachments..."
VERSION
-------
java version "1.2.2"
Classic VM (build JDK-1.2.2-W, native threads, symcjit)
java full version "JDK-1.2.2-W"
DESCRIPTION
-----------
When creating a new Font object with Font(name, type, size)
constructor, a problem can occur if I'm using a non-standard
font family name like "Arial". (With any standard font family
like "Serif" things are OK).
The problem is that if I create a Font with Font.PLAIN type
the Font displays properly in a JTextField.
But then I change the field's font for the same font with
ITALIC type and the font still appears PLAIN.
It only appears in ITALIC if I also change the size at the same
time.
I got the "arial" family name from
GraphicsEnvironment.getAvailableFontFamilyNames()
(Review ID: 93674)
======================================================================
- duplicates
-
JDK-4209476 Font style attributes ignored on second creation of Font of same size.
-
- Resolved
-