$.text.font

Takes a stringified name of a font (this is Caps sensitive) and sets it fo rthe current font.

Examples



function update() {
	$.text.size = 20;

	$.text.font = "Arial";
	$.text.print($.w/2, 10, "Arial");

	$.text.font = "Verdana";
	$.text.print($.w/2, 30, "Verdana");

	$.text.font = "Tahoma";
	$.text.print($.w/2, 50, "Tahoma");

	$.text.font = "Tebuchet MS";
	$.text.print($.w/2, 70, "Tebuchet MS");

	$.text.font = "Times New Roman";
	$.text.print($.w/2, 90, "Times New Roman");

	$.text.font = "Georgia";
	$.text.print($.w/2, 110, "Georgia");

	$.text.font = "Garamond";
	$.text.print($.w/2, 130, "Garamond");

	$.text.font = "Courier New";
	$.text.print($.w/2, 150, "Courier New");

	$.text.font = "Bush Script MT";
	$.text.print($.w/2, 170, "Bush Script MT");
}