User Tools

Site Tools


el:font

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

el:font [2016/01/01 22:39]
el:font [2020/02/28 10:46] (current)
Line 1: Line 1:
 +===== Font =====
 +==== Format ====
 +font //fontname//, //point//, //weight//
 +==== Description ====
 +Sets the font used by the text command to //fontname// Size is defined in points (1/72") Weight represents a number from 1 to 100 that defines how dark the letters will be drawn. Light=25, Normal=50, and Bold=75.
 +
 +==== Example ====
 +<code>
 +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!"
 +</code>
 +Will draw.\\
 +{{:en:fonttext.png|}}
 +
 +==== See Also ====
 +{{page>en:start#Graphics - text&noheader}}
 +
 +==== New To Version ==== 
 +0.9.4