Duplicate :
|
With recent PIT build, 2DPrinting suite test "PrintFont_2D" is failing when rendering fonts on RH 8.0 or RH 9.0. The failure appears to be a rendering problem as the test fails before a print request is done. - PIT build used was: "2d.pit-jcg-linux-01-2003-08-06.tiger" - The PrintFont_2D test will use GraphicsEnvironment.getAllFonts() to present the list of available fonts. The fonts are displayed one set at a time in a frame controlled by "Next Set" and "Previous Set" buttons. - The test fails after the 4th set of fonts is displayed. - The error is as follows: java: ../../../src/share/native/sun/font/t2k/t1.c:2185: tsi_T1GetGlyphIndexFromAdobeCode: Assertion `0' failed. result: Failed. Unexpected exit from test [exit code: 134] - The test passes with latest promoted Tiger Build: 1.5.0-beta-b14 Steps to reproduce: ------------------- 1) Obtain a copy of the 2DPrinting Suite from workspace located at: /java/j2se-sqe/2d/Merlin_2d_ws/2DPrinting 2) On RH 9.0, set the following variables: - JAVA_HOME (to recent PIT build) - JTREG_HOME export JTREG_HOME=/home/rickr/work/jtreg 3) From root level of 2DPrinting/ directory, run the command: ksh $JTREG_HOME/linux/bin/jtreg -va -cpa:"./src/Interactive/LL/PrintFont_2D/resources" ./src/Interactive/LL/PrintFont_2D/PrintFont_2D.html 4) The test will bring up a dialog box with the buttons Print, Next Set, Previous Set. 5) Click on the "Next Set" button a few times to cycle through the font sets. The 4th set should cause the exception. 6) No printing needs to be done to reproduce the failure.