public static Ss_rPr createFromFont( Font f )
	{
		// not using attributes:  charset, family, condense, extend, shadow, scheme, outline==bold
		Ss_rPr rp = new Ss_rPr();
		rp.setAttr( "rFont", f.getFontName() );
		rp.setAttr( "sz", new Double( f.getFontHeightInPoints() ).toString() );

		// boolean attributes
		if( f.getBold() )
		{
			rp.setAttr( "b", "" );
		}
		if( f.getItalic() )
		{
			rp.setAttr( "i", "" );
		}
		if( f.getUnderlined() )
		{
			rp.setAttr( "u", "" );
		}
		if( f.getStricken() )
		{
			rp.setAttr( "strike", "" );
		}
		int s = f.getScript();
		if( s == 1 )
		{
			rp.setAttr( "vertAlign", "superscript" );
		}
		else if( s == 2 )
		{
			rp.setAttr( "vertAlign", "subscript" );
		}
		rp.color = f.getOOXMLColor();
		return rp;
	}