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

RH9: Redraw problem with Style, Font on AWT component

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b26
    • CPU:
      x86
    • OS:
      linux
    • Verification:
      Verified

      Description

      ==============================
      Tested JDK : Tiger 1.5.0 b14
      Tested OS : RedHat9.0(eucJP)
      ==============================

      Redraw problem that Font, Style are not applyed properly on AWT component
      is seen on RH9 with tiger b14.

      For example, using CharView test case(attached),
      changing Style from Plain to Bold, the character remains Plain.
      However, changing component "Button" to "Label", style is applyed properly
      from Plain to Bold.


      To reproduce;
      1. Compile attached test case (CharView.java and FontView.java).
      2. launch test case.
      % java CharView
      3. Changing "Font" from "Serif" to SansSerif, Monospased, Dialog and DialogInput.

      Then, you can see that Font is not applyed properly.
      However, changing AWT component from Button to Label/CheckBox etc. or size from 8 to 12 or anyting, Font is applyed properly and redraw works fine.

      The same problem is seen in "Style" as well as "Font",

      This problem does not occur in TextFileld.
      This problem starts from b13, it worked fine in b12 and Mantis FCS b28.
      This problem is reproducile in C locale also.
      This problem is not seen in Swing(like Font2D demo).

      ** NOTE **
      The machine I tested is intalled RH9 patch as below;
      rpm -i --replacefiles /java/jdk/linux/ws/redhat9/libc_hack.rpm

      [###@###.### 2003-08-14]

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              yan Yuri Nesterenko
              Reporter:
              rsuzukisunw Rieko Suzuki (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: