UFO-Scripts/fonts.ufo

From UFO:AI
Jump to navigation Jump to search

General

the font path relative to base
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