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

default font for SwingTextField and FX TextBox seems different and inconsistent among different locales

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: fx1.1
    • Fix Version/s: fx1.3
    • Component/s: javafx
    • Labels:
    • Environment:

      Tested on WinXP (Japanese) and Windows Vista (Traditional Chinese).

      Description

      The default font used for SwingTextField and FX TextBox is different.

      Please see the attached images.

      1. ja_test_combined.jpg was taken on Windows XP in Japanese.
      2. zh_TW_test_combined.jpg was taken on Windows Vista in Traditional Chinese.

      Note that the fonts used for SwingTextField and TextBox are different in both cases. On top of this, note that "mountain" character in ja SwingTextField looks similar to the same character rendered in zh_TW TextBox. Likewise, the same "mountain" character in ja TextBox looks similar to the same character in zh_TW SwingTextField. This is inconsistent.

        Attachments

        1. ja_test_combined.jpg
          33 kB
          Naoko Hamamoto
        2. SwingTextField_TextBox_Testing.fx
          1 kB
          Naoko Hamamoto
        3. zh_TW_test_combined.jpg
          33 kB
          Naoko Hamamoto

          Issue Links

            Activity

              People

              • Assignee:
                rbair Richard Bair
                Reporter:
                nhamamot Naoko Hamamoto
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported: