Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4234481

Monospaced/Bold fonts show up as variable width

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.2.1
    • client-libs
    • 2d
    • 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

            Unassigned Unassigned
            atongschsunw Albert Tong-schmidt (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: