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

JEditor/JTextPane:FullWidth numeric can't be displayed correctly on Linux

XMLWordPrintable

    • 2d
    • beta
    • x86
    • linux
    • Verified


      Tested with merlin-beta b54 on RedHatLinux 6.2J or 6.2JUpdate

      Some of FullWidth numeric characteres as 0,1,2,3,4,5,6 are not displayed correctly on JEditorPane or JTextPane.
      The characters are replaced with anoter characters like Arabic.
      You can see the phenomenon in an attached gif file, FullWidthNumeric-err.gif

      This is reproducible also with merlin-beta build before b54.
      This is not reproducible with Kestrel or Ladybird.

      To reproduce,
      1. Compile and launch attached programs.
      (JEditorPaneTest.java or JTextPaneTest.java)
      2. Make Japanese inputting mode available.
      3. Input Fullwidth numeric characters.
         or
         Open an attached text file (FullWidth_numeric.txt)
      Then, you can see the problem.

      Or
      You can use StylePad demo or NotePad demo ($JAVAHOME/demo/jfc/Notepad or Stylepad) to reproduce the problem.
       
      !!! b54 has a problem in FileDialog and opening file causes Abort.
      If you want to open FullWidth_numeric.txt to reproduce the problem, please use b53. !!!


            pkejriwasunw Parry Kejriwal (Inactive)
            mmtokunasunw Mtokunaga Mtokunaga (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: