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

Japanese characters aren't rotated on Redhat 7.1J by drawString or TextLayout

XMLWordPrintable

    • 2d
    • beta3
    • x86
    • linux
    • Verified

      Tested with Merlin_beta-refresh b74 on RedHat Linux 7.1J.

      Japanese characters are not rotated correctly on RedHat Linux 7.1J by drawString() or TextLayout.draw().

      To reproduce;
      1. Launch Font2DTest demo ($JAVAHOME/demo/jfc/Font2DTest/Font2DTest.jar)
         % java -jar Font2DTest.jar
      2. Select one of the fonts among "Serif" or "SansSerif" or "Monospaced" or
         "Dialog" or "Dialog" from Font.
      3. Select "CJK Symbols and Puctuation" or "Hiragaba" or "Katakana" or
         "CJK unified Ideographs" from Range.
      4. Select "drawString" or "TextLaout.draw" from Method.
      5. Select "Sheare" or "Rotate" from Transform

      Then, you can see the problem that the transform is not applayed to japanese characters.

      This problem is not seen on RedHat Linux 6.2J and 6.2J update with b74.

      This probelm ocuurs on only RedHat linux 7.1J.

      ======================================

      The name of the font directory for ja TrueType fonts had a letter
      in the wrong case, ie this was a small spelling mistake.

      ###@###.### 2001-08-28
      ============================

            prr Philip Race
            rsuzukisunw Rieko Suzuki (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: