Doug, There is no problem when using drawString to print Chinese characters. The stroke is incorrectly rendered in a way that some stroke is shortened and some is lengthened. There is no missing stroke, but most strokes are distorted after antialiasing. I have tried a wide range of chinese fonts, the set provided by Window 98 (TW) fails, for the fonts provided by other vendors, some fails and some succeed. I have also tried JDK1.4 beta. There are more fonts correctly rendered, but still many of them fail.
I would submit a bug report to java.sun.com. Thank you. Jason > Jason: > > Did you file a bug report on this? > > What happens when you use Graphics.drawString instead of TextLayout? > > What font are you using? Is it all CJK fonts, or just a few particular fonts? > > Have you tried JDK 1.4 beta to see if the same problem occurs there? > > I'm not sure what you mean when you say the 'stroke is incorrect.' Are you getting >recognizable characters, > but drawn with the wrong kind of stroke, or are the characters missing pieces or >otherwise distorted, or are > they not recognizable at all? > > Some versions of the JDK use multiple rasterizers, selecting the one to use >depending on the graphics state > and the capabilities of the platform's rasterizer. Turning on antialiasing can >cause the Java internal > rasterizer to be used, instead of the platform's rasterizer. So the differences you >see might be caused by > switching on the java internal rasterizer, which might be having difficulty with >this font. > > If you haven't already, I suggest you file a bug report. Include a test case and >the name of the font you > used, and if necessary, where the font can be obtained, so that we can try to >reproduce the problem. > > Doug > > =========================================================================== > 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". ---------------------------------------------- �w��ϥ�HongKong.com�l��t�� Thank you for using hongkong.com Email system =========================================================================== 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".
