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] (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
  
el/font.txt ยท Last modified: 2016/01/01 22:39 (external edit)