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

Solaris:TextLayout.draw() and drawString(iterator) can't draw JIS0212 characters

XMLWordPrintable

    • 2d
    • sparc
    • solaris_7


      Tested with Merliin build 1.4.0beta-b24 on Solaris Japanese

      TextLayout.draw and drawString(iterator) can not draw JIS0212 characters.
      For example, Japanese Kanji characters like \u4e02. \u4e04, \u4e05, \u4e12 are not drawn.

      To reproduce,

      1. Run Font2DTest demo (jdk1.4/demo/jfc/Font2DTest/Font2DTest.jar)
      2. Select one of the font among Dialog, DialogInput, Monospaced, Serif and SansSerif.
      3. Select "Other" from Unicode Range.
      4. Input 4e00 in Unicode Base.
      5. Select TextLayout.draw() or drawString(iterator) from Draw Method.

      You can see JIS0212 characters are not drawn.


      This is not reproduced with Kestrel.


            dougfelt Doug Felt
            mmtokunasunw Mtokunaga Mtokunaga (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: