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

poor font rendering in 64-bit

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.4.0
    • 1.4.0
    • client-libs
    • 2d
    • beta2
    • sparc
    • solaris_8


      A trivial test program shows that rendered text quality in 64-bit
      Java on Solaris is poor, in particular for large sized fonts.

      Good (32bit) and bad (64bit) gif images are attached.

      "java JHello" looks great.
      "java -d64 JHello" looks poor.

      There are Motif warning messages complaining about inability to load a
      font into a fontset (see bug 4415785), but it seems unlikely to me that
      this affects this image quality problem.


      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

      import java.awt.*;
      import java.io.PrintStream;
      import javax.swing.*;

      public class JHello extends JFrame {

          JHello() {
              JLabel jlabel = new JLabel("Hello");
              jlabel.setFont(new Font("Monospaced", 0, 144));
              getContentPane().add(jlabel);
              pack();
          }

          public static void main(String args[]) {
              new JHello().show();
          }
      }

            flar Jim Graham
            foliversunw Fred Oliver (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: