I am working on a program which uses the "com.sun.glf.goodies.TextStroke" class provided in the GLF (see http://developer.java.sun.com/developer/Books/2dgraphics/).
When running under jdk1.3.1_01 the Stroke performs as expected, but when running under jdk1.4.0_01 the Stroke seems to "stretch" the distance between the letters causing the text to no longer follow the specified Path. At first I thought it may be a problem with my OS or GFX card, but have updated both with the latest updates/drivers, and have tested it under both Windows XP and Windows 2K (Windows XP w/Radeon 7500 GFX card, Windows 2K w/NVIDIA GeoForce4 Ti 4600 GFX card). I have attached 2 jpeg images, taken from screen grabs of the unit test for the TextStroke, demonstrating the difference between jdk1.3 (textstroke_1_3.jpg) and jdk1.4 (textstroke_1_4.jpg). I have googled the problem and have searched various web resources to see if this strange behaviour has been documented elsewhere but to no avail. If anyone has any pointers towards an explanation/fix I would very much appreciate it. Thanks in advance, Ken Greene =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA2D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
