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

Height of Dialog 12 under windows has changed between 1.3 and 1.4

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 1.4.0
    • 3_fcs, 1.4.0
    • client-libs
    • 2d
    • beta3
    • x86
    • windows_nt, windows_2000
    • Verified

      The following code yields 16 on 1.4 vs 17 on 1.3:

              Font font = new Font("Dialog", Font.PLAIN, 12);
      FontMetrics metrics = field.getFontMetrics(font);
              System.out.println("font metrics height: " + metrics.getHeight());

      Note, this was originally submitted as 4465533, but as this contained a couple of things I've created this separate bug for this specific issue.

            pkejriwasunw Parry Kejriwal (Inactive)
            svioletsunw Scott Violet (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: