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

Japanese characters are drawn in more than one lines with rotate which use TextL

    XMLWordPrintable

    Details

    • Subcomponent:
      2d
    • CPU:
      generic
    • OS:
      generic

      Description


      Japanese characters are not drawn in one line with rotate
      which use TextLayout.draw or TextLayout.getOutline + draw.

      The cases of only "ascii" and only "katakana" and only "hiragana"
      and only "kanji" inputting are no problem, It is drawn in one line.

      However, if Japanese "kanji" or "ascii" character is included line.
      In spite of not pushed "enter", the line will be drawn in more than
      one lines which is divided at the end of "kanji" character and at
      the end of "ascii" character.


      Reproduce to:
      1, Launch Font2DTest in Demo.
      2, Select Method "TextLayout.draw" or "TextLayout.getOutline + draw".
      3, Select font that defined by java.
      4, Select Transform "Rotate".
      5, Select Text to use "User Text".
      6, Input Japanese characters into input area which coming up on
         the other window and push "Update" in it.
         e.g.) \u6f22\u5b57abc\u6f22\u5b57\u30ab\u30bf\u30ab\u30ca\u6f22\u5b57\u3072\u3089\u304c\u306a
         c.f) http://www.unicode.org/charts/web.html


      java -version
      java version "1.4.0beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0beta-b44)
      Java HotSpot(TM) Client VM (build 1.4beta-B44, mixed mode)


      ----
      reproducible with jdk1.4beta b44 on Solaris 8
      keiko.nakayama@Eng 2000-12-13

        Attachments

          Activity

            People

            Assignee:
            dougfelt Doug Felt
            Reporter:
            kkichisunw Kichi Kichi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: