I see that the font attribute overrides other attributes so I have now tried this:
[code] Map<TextAttribute, Object> textAttributes = new HashMap<TextAttribute, Object>(); textAttributes.put(TextAttribute.KERNING, TextAttribute.KERNING_ON); textAttributes.put(TextAttribute.FAMILY, "Serif"); textAttributes.put(TextAttribute.SIZE, 13); g2d.setFont(Font.getFont(textAttributes)); g2d.drawString(text, 100, 150); [/code] but the results are identical no matter what family I use. How do I turn on kerning? -- 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=256040 =========================================================================== 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".
