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

FontMetrics does NOT calculate correct stringWidth for Dialog font

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2 P2
    • None
    • 1.1.1
    • client-libs
    • None
    • x86
    • windows_95



      Name: mc57594 Date: 05/15/97


      1. draw string "java.awt" with font=new Font("Dialog", Font.BOLD, 10)
      2. draw second string fm.stringwidth("java.awt") to the right
      3. see the astonishing result....

      Anyway, this ONLY happens with the bold "Dialog" font!
      company - Marimba Inc. , email - ###@###.###
      ======================================================================

            lbunnisunw Lara Bunni (Inactive)
            mchamnessunw Mark Chamness (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: