onexit goto,*exit
#uselib "gdi32"
#func AddFontResourceA "AddFontResourceA" var
#func RemoveFontResourceA "RemoveFontResourceA" var
font_pass="ここにフォントのパスを入力"
//フォント追加
AddFontResourceA font_pass
font "fontname"
mes "Hello,World"
stop
*exit
RemoveFontResourceA font_pass
end