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

Different type faces used for plain/italic/bold

XMLWordPrintable

    • b10
    • x86
    • windows_xp, windows_vista

      When the font is rendered for plain style is used type face specified in test case, but the italic and bold columns has used different one. It looks like on windows for plain is always selected the serif-family while the italic/bold are drawn with sanserif-family.
      Found in promoted j2sdk1.5.0 b22. Test platform Windows XP Pro DE.

      How to reproduce:
      get the GlobalSuite
      sqeweb.sfbay.Sun.COM:/java/j2se-sqe/i18n/workspaces/i18n_tiger_ws/i18n/bundles/gs15-b02.tar.gz
      run command
      sh run_gs.sh -jdk:<path_to_jdk> <test_case>
      where test_case is one or more of the test from list:
      font-render/awt/one/ChoiceRenderTest1.java
      font-render/awt/one/ChoiceRenderTest4.java
      font-render/awt/one/ChoiceRenderTest5.java
      font-render/awt/one/FrameRenderTest1.java
      font-render/awt/one/LabelRenderTest1.java
      font-render/awt/one/LabelRenderTest4.java
      font-render/awt/one/LabelRenderTest5.java
      font-render/awt/one/ListRenderTest1.java
      font-render/awt/one/ListRenderTest4.java
      font-render/awt/one/ListRenderTest5.java
      font-render/awt/one/TextFieldRenderTest1.java
      font-render/awt/one/TextFieldRenderTest4.java
      font-render/awt/one/TextFieldRenderTest5.java
      font-render/awt/two/CharView.java
      font-render/awt/two/CharViewMultiLine.java
      font-render/awt/two/MenuView.java
      font-render/swing/three/JTabbedPaneTest.java
      ###@###.### 10/14/04 16:41 GMT

            osemenovsunw Oleg Semenov (Inactive)
            jtusla Jiri Tusla (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: