===== Font (Statement)===== ==== Format ==== font [[stringexpressions|font_name]], [[floatexpressions|font_size_in_point]], [[floatexpressions|font_weight]]\\ font ( [[stringexpressions|font_name]], [[floatexpressions|font_size_in_point]], [[floatexpressions|font_weight]] ) ==== Description ==== Sets the font used by the text command to [[stringexpressions|font_name]]. The size that the font will be draw on on the screen is defined in points (1/72"). The third value represents the line weight (from 1 to 100) used in drawing the text on the screen. Typical weights are: Light=25, Normal=50, and Bold=75. |{{:commonwindowsfonts.png|Common Windows Fonts}}| |Common Windows Fonts| ==== Example ==== color grey rect 0,0,graphwidth,graphheight color red font "Times New Roman",18,50 text 10,100,"This is Times New Roman" color darkgreen font "Tahoma",28,100 text 10,200,"This is BOLD!" Will draw.\\ {{:en:fonttext.png|}} ==== See Also ==== {{page>en:start#Graphics - text&noheader}} ==== New To Version ==== 0.9.4