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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 1.2.0
    • client-libs
    • 2d
    • sparc
    • solaris_2.6

      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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: