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
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