In Linux RH 8, application crashes while trying to render glyphcode 317 for font "Nimbus Mono L".
java: ../../../src/share/native/sun/font/t2k/t2ksc.c:611:
Make3rdDegreeBezierEdgeList: Assertion `ptA <= lastPoint' failed.
Aborted
In Linux RH9, application crashes while trying to render glyphcode 125 for "Aharoni" font.
java: ../../../src/share/native/sun/font/t2k/glyph.c:946: Add_GlyphClass: Assert
ion `t->ep[t->contourCount-1] == t->pointCount-1' failed.
Killed
I tried in latest PIT build as well. Earlier this used for fail for more number of fonts, which is fixed as bug 4940946.
Attached here with is the test FontCrashTest.java
Compile and run commenting/uncommenting appropriate fonts in Linux RH8/9
If the program crashes for above mentioned fonts/glyphs, bug is reproduced
Font "Nimbus Mono L" regular attached - n0220031.pfb
Can reproduce the crash when "Nimbus Mono L" font is used in all platforms. Copy the attached font to jre/lib/fonts. Run Font2DTest, select the specified font. Select "All Glyphs", it crashes on all platforms.
In WinXP
========
C:\j2sdk1.5.0\demo\jfc\Font2DTest>java -jar Font2DTest.jar
Assertion failed: ptA <= lastPoint, file ../../../src/share/native/sun/font/t2k/
t2ksc.c, line 611
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
In Solaris
==========
Assertion failed: ptA <= lastPoint, file ../../../src/share/native/sun/font/t2k/t2ksc.c, line 611
Abort (core dumped)