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

nls: d3d pipeline incrrectly render FontPosture.ITALIC and FontWeight.BOLD for Asian characters.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Duplicate
    • Affects Version/s: fx2.0
    • Fix Version/s: None
    • Component/s: javafx
    • Labels:
    • Environment:

      Vista + jdk1.6.0_27 + javafx2.0b34

      Description

      Steps to reproduce:
      1. Install javafx 2.0 b34 on a Windows platform which support d3d rendering
      2. Run attached sample with "-Dprism.order=d3d"

      The snapshot is attached (vista-d3d-en.png), there is no asian font is rendered as italic.
      This is not reproducible with j2d rendering the snapshot(vista-j2d-en.png) is also attached for reference.

      This also impact WebNode, please find the snapshot html-fonts.png.

        Attachments

        1. FontTest.java
          2 kB
        2. html-fonts.png
          html-fonts.png
          84 kB
        3. vista-d3d-en.png
          vista-d3d-en.png
          225 kB
        4. vista-jd2-en.png
          vista-jd2-en.png
          233 kB

          Issue Links

            Activity

              People

              • Assignee:
                prr Philip Race
                Reporter:
                jennyh Jenny Huang
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported: