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

Font2DTest Antialias user text problematic

    XMLWordPrintable

    Details

    • Subcomponent:
      2d
    • Resolved In Build:
      rc1
    • CPU:
      x86
    • OS:
      linux
    • Verification:
      Verified

      Description

      Build tested : Build 83
      OS Tested : Red Hat Linux 7.1
      Flag used : -Xint

      How to reproduce the problem :

      1. Start Font2dTest from <Build83_Home>/demo/jfc/Font2DTest using command
      <JDK_B83_HOME>/bin/java -jar -Xint Font2DTest.jar
      2. Click on Antialias checkbox to make it on.
      3. Select User Text from the Text to use option.
      4. Give these exact two lines of text:

      This is the first line.
      This is the second line.

      5. Set the Graphics2D Transform to roatate.
      6. Set the font size to say 18.
      7. Circle thru all the fonts in the fonts dropdown .When you do this , you will see that for some fonts the second line disappears , for some fonts it appears back again .

      P.S. Do not maximize the Demo's window.The bug disappears if the window is maximized .

      It is NOT reproducible on Build 80.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              tdv Dmitri Trembovetski (Inactive)
              Reporter:
              duke J. Duke (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: