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

JDK doesn't generate correct PostScript file on Solaris

    XMLWordPrintable

    Details

    • Subcomponent:
    • CPU:
      sparc
    • OS:
      solaris_2.5.1

      Description

      Setup: Sparc machine with Solaris 2.5.1 or 2.6 with ja locale
      JDK version 1.1.3

      1.Compile the attached file TestPrint.java and run it.

      2. Run the program under ja locale

      3. Load the html file. <Using Load button>

      4. Click on Print Button. Choose PostScript file and store the PS file

      5. Load the PS file with Pageview. You will see garbage.

      6. In pageview lookinto Edit -> PostScript

      7. Observe status window showing an error with divide by zero

      8. Preliminary investigation shows that a NULL string is passed to stringwidth
          function it returns zero . it is used for division.

      9. I have attached PS file also.
       
      shanmugam.senthil@Eng 1997-07-22

        Attachments

          Activity

            People

            Assignee:
            dmendenhsunw David Mendenhall (Inactive)
            Reporter:
            ssenthilsunw Shanmugam Senthil (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: