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

b58:2D:Hiragana and Katakana are not displayed with TextLayout.draw() on Solaris

XMLWordPrintable

    • 2d
    • beta2
    • sparc
    • solaris_7
    • Verified

      Tested on Solaris sparc 2.6, 7 and x86 7, 8 with Merlin beta58.

      Japanese characters, Hiragana(/u3041 - /u309e) and Katakana(/u30a1 - /u30fe) are not displayed correctly using TextLayout.draw() with Bold, Italic and Bolditalic.
      With Plain style, these characters are displayed correctly.

      Step to reproduce:
      1. Excute Font2DTest demo
         ($JAVAHOME/demo/jfc/Font2DTest/Font2DTest.jar)
      2. Select "Serif", "SansSerif", "Monospaced", "Dialog", "Dialoginput" from Font
      3. Select "Hiragana" or "Katakana" from Range
      4. Select "TextLayout.draw" from Method
      5. Select "Bold" or " "Italic" or "BoldItalic" from Style, except "Plain"
      6. Select "None" or "Scale" from Transform

      Then, You can see that Hiragana or Katakana characters is not dispalyed.
      But, changing Transform from "None" "Scale" to "Share" or "Rotate", these japanese characters are disaplyed correctly.

      This problem is not seen in Merlin beta57.

      This phenomenon does not occur on WindowsNT and RedHat Linux6.2J.

            dougfelt Doug Felt
            rsuzukisunw Rieko Suzuki (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: