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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • fx1.3
    • fx1.1
    • javafx
    • Tested on WinXP (Japanese) and Windows Vista (Traditional Chinese).

      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.

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

            rbair Richard Bair (Inactive)
            nhamamot Naoko Hamamoto
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: