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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 3_fcs, 1.4.0
    • Fix Version/s: 1.4.0
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
      2d
    • Resolved In Build:
      beta3
    • CPU:
      x86
    • OS:
      windows_nt, windows_2000
    • Verification:
      Verified

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: