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

Linux: drawString:some characters of KATAKANA can not be drawn

XMLWordPrintable

    • linux-beta
    • x86
    • linux
    • Verified


      Tested with kestrel-linux-beta on RedHat6.1J update

      Some Japanese characters, KATAKANA (\u30D0~) can not be drawn with drawString, and some specified FONT and SIZE.

      For example, running CharView, select "Graphics.drawString" and Serif or MonoSpaced or DialogInput for font, and 8 or 9 or 12 for font size,
      the line of characters started with \u30D0 can not be displayed.
      With other kind of font(SansSerif or Dialog) or size, the characters can be displayed correctly.
      It seems that \u30D3 and \u30D4 cause this phenomenon.

      Running FontEffect3 and inputting "30D0" in TextField for "hex unicode", with same condition as above for font and font size and with non-antialiased mode,
      any character can not displayed with drawString (with antialiased mode, this problem does not occur).
      Inputting Japanese characters which codes are except \u30D3 or \u30D4 for a TextField for "input string", they CAN be displayed correctly.
      Inputting two characters (or each) which code are \u30D3 or \u30D4, they CAN NOT be displayed.
      And inputting a series of characters inclueds a character which code is \u30D3 or \u30D4, any characters CAN NOT be displayed.
      Therefore, \u30D3 and \u30D4 seems to cause this phenomenon.


      This probelm is not reproducible with Cricket Linux.



      To reproduce,

      1. Extract attached tar file.
      2. Compile all java files.
      3. Run CharView with the conditions described above.
      4. Run FontEffect3 with the conditions described above.
      5. You can see the phenomenon as above.


      I have not check whether this is reproducible RedHat6.1J original due to machine trouble. I'll update description as soon as I get the result.


      This problem occurs also on both of RedHat6.1J original version and 6.2J
      with kestrel-linux-beta.


      miki.tokunaga@japan 2000-05-31

            sherman Xueming Shen
            mmtokunasunw Mtokunaga Mtokunaga (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: