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

the Graphics2D.scale() doesn't work corretly for text

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P3 P3
    • None
    • 1.4.1_02
    • client-libs

      The Graphics2D.scale() works well for images, but not text.
      e.g. I just put one button onto a panel1, with "abcd" on it, and of course the button has enough place to show the whole text. But when I scale another panel2 with some factor, and put the panel1's image onto the panel2's graphics, the text on the button is truncated, i.e. become "ab..."! That's unreasonable! If the orginal button can show the whole text, the button on the scaled image should also show the whole text.

            svioletsunw Scott Violet (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: