User Tools

Site Tools


en:font

Font (Statement)

Format

Description

Sets the font used by the text command to 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.

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.

See Also

2016/01/01 22:42

New To Version

0.9.4

en/font.txt · Last modified: 2016/08/13 07:55 by admin