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

Solaris: Can't use Graphics2D.transform() to rotate string

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Duplicate
    • Affects Version/s: 1.2.0
    • Fix Version/s: None
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
      2d
    • CPU:
      sparc
    • OS:
      solaris_2.6

      Description

      Version: 1.2fcs_L
      Locale: ja

      When drawing String that is rotated, if you use Graphics2D.transform(AffineTransform) and drawString(), the rotated string
      can't be displayed correctly.

      Incorrect displaying Font are:
      - Serif PLAIN
      - Sansserif ITALIC
      - Sansserif BOLDITALIC
      - Dialog PLAIN
      - Dialog ITALIC

      Incorrect displaying String subset are:
      - LATIN_1(\u0000 - \u00ff)
      - DingBats(\u2700 - \u27ff)

      Attached sample program. Compile all files and run FontEffectTest2.
      Change Font name, Font Style, and input hex unicode.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                pcharltosunw Paul Charlton (Inactive)
                Reporter:
                duke J. Duke (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: