# SWFText->setFont()

(PHP 4 >= 4.0.5)

SWFText->setFont() — Sets the current font

### Description

SWFText
void setFont ( string `$font` )
Warning

This function is EXPERIMENTAL. The behaviour of this function, the name of this function, and anything else documented about this function may change without notice in a future release of PHP. Use this function at your own risk.

swftext->setfont() sets the current font to `font` .

### Return Values

No value is returned.