-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
1.2.1
-
x86
-
windows_nt
In Window95/98 Monospace Bold fonts do not line up properly.
fonts specified as "Monospaced" and Font.BOLD, at any pitch size show as a variable width font, such as "Ariel" or "Dialog". If "Monospaced" and Font.PLAIN is specified, then the font is correct. If the Mono/Bold font is set for a java.awt.Label, and then the font is queried on the label object,
the info returned says Mono/Bold, but it does not show up that way.
In the testcase FontTest.java, the monospaced lines in both Plain and Bold for the alpha-numeric and the line of periods should all be the same length, but
they don't appear correctly. If you run the FontsFrame.java the desired
behavior is shown.
The testcases are in the attachments
fonts specified as "Monospaced" and Font.BOLD, at any pitch size show as a variable width font, such as "Ariel" or "Dialog". If "Monospaced" and Font.PLAIN is specified, then the font is correct. If the Mono/Bold font is set for a java.awt.Label, and then the font is queried on the label object,
the info returned says Mono/Bold, but it does not show up that way.
In the testcase FontTest.java, the monospaced lines in both Plain and Bold for the alpha-numeric and the line of periods should all be the same length, but
they don't appear correctly. If you run the FontsFrame.java the desired
behavior is shown.
The testcases are in the attachments
- duplicates
-
JDK-4191318 Win-95: bold and/or italic fonts are always serif.
- Resolved