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

Big and/or rotated fonts garbled

XMLWordPrintable

    • 2d
    • x86
    • linux_redhat_9.0

      Big fonts typically of size 36+ gets garbled when all antialiasing methods are switched off. Under the baseline there is copied upper part of the text. Size of the copied part as same as its vertical position depends on the font size.

      Rotated texts gets clipped by rectangle and appears multiple times when all antialiasing methods are switched off.
      Found in promoted j2sdk 1.5.0 b22.

      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
      sh run_gs.sh -jdk:<path_to_jdk> <test_case>
      where test_case is from the following list

      For rotation problems:
      font-render/2d/one/TextRotationRenderTest.java
      font-render/2d/one/TextTransformRenderTest.java
      font-render/2d/two/FontEffectTest2.java
      font-render/2d/two/Graphics2DTest.java

      For font size problems:
      font-render/2d/one/CanvasRenderTest[1-5].java
      font-render/awt/one/CanvasRenderTest[1-5].java
      font-render/awt/one/CheckboxMenuItemRenderTest3.java
      font-render/awt/one/ChoiceRenderTest[1-5].java
      font-render/awt/one/LabelRenderTest[1-5].java
      font-render/awt/one/TextFieldRenderTest[1-5].java
      font-render/awt/two/CharView.java
      font-render/awt/two/CharViewMultiLine.java
      font-render/awt/two/MenuView.java
      font-render/swing/one/JComboBoxRenderTest.java
      font-render/swing/one/JComboBoxRenderTestDInput.java
      font-render/swing/one/JComboBoxRenderTestDialog.java
      font-render/swing/one/JComboBoxRenderTestMono.java
      font-render/swing/one/JComboBoxRenderTestSans.java
      font-render/swing/one/JListRenderTestMono.java
      font-render/swing/one/JMenuRenderTestMono.java
      font-render/swing/one/JTableRenderTestMono.java
      font-render/swing/three/SwingUtilitiesTest.java

            igor Igor Nekrestyanov (Inactive)
            jtusla Jiri Tusla (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: