I am trying to use kerning when displaying text using the following code: [code] Map<TextAttribute, Object> textAttributes = new HashMap<TextAttribute, Object>(); textAttributes.put(TextAttribute.KERNING, TextAttribute.KERNING_ON); textAttributes.put(TextAttribute.FONT, font); g2d.setFont(Font.getFont(textAttributes)); g2d.drawString(text, 100, 150); [/code]
but no matter what I use for font or text the output is identical with kerning turned on or off. The font attribute is being picked up but not the kerning attribute. Why is this? What's the correct way to turn on kerning? I am using JSE 6 on Vista x64. -- And loving it, -Q _________________________________________________ [EMAIL PROTECTED] (Replace the "SixFour" with numbers to email me) [Message sent by forum member 'qu0ll' (qu0ll)] http://forums.java.net/jive/thread.jspa?messageID=256039 =========================================================================== 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".
