User Tools

Site Tools


en:font

Differences

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

Link to this comparison view

en:font [2016/08/13 08:54]
admin
en:font [2020/02/28 10:46]
Line 1: Line 1:
-===== 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}} 
- 
-==== 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 
  
en/font.txt ยท Last modified: 2020/02/28 10:46 (external edit)