m.put( TextAttribute.SIZE, new Float( fd.getSize( ) ) );
m.put( TextAttribute.SIZE, new Float( pointsToPixels( fd.getSize( ) ) ) );
	public final Object createFont( FontDefinition fd )	{		final Map m = new HashMap( );		m.put( TextAttribute.FAMILY, fd.getName( ) );		m.put( TextAttribute.SIZE, new Float( fd.getSize( ) ) );		if ( fd.isItalic( ) )		{			m.put( TextAttribute.POSTURE, TextAttribute.POSTURE_OBLIQUE );		}		if ( fd.isBold( ) )		{			m.put( TextAttribute.WEIGHT, TextAttribute.WEIGHT_BOLD );		}		if ( fd.isUnderline( ) )		{			m.put( TextAttribute.UNDERLINE, TextAttribute.UNDERLINE_ON );		}		if ( fd.isStrikethrough( ) )		{			m.put( TextAttribute.STRIKETHROUGH, TextAttribute.STRIKETHROUGH_ON );		}		return new Font( m );	}