Difference between revisions of "UFO-Scripts/fonts.ufo"

From UFO:AI
Jump to navigation Jump to search
m
 
(No difference)

Latest revision as of 15:33, 18 August 2008

General

the font path relative to Template:Path
this var is translateable to allow translators to use their own fonts - just translate this value in your po file and you use a self defined font
the font size
  • style V_STRING:
    • TTF_STYLE_NORMAL
    • TTF_STYLE_BOLD
    • TTF_STYLE_ITALIC
    • TTF_STYLE_UNDERLINE

Example

font f_menu
{
	font	"_media/FreeSans.ttf"
	size	22
}

font f_menubig
{
	font	"_media/FreeSans.ttf"
	size	28
	style	TTF_STYLE_BOLD
}

Links