poor font rendering in 64-bit

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 1.4.0
    • Affects Version/s: 1.4.0
    • Component/s: 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();
          }
      }

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: