1 // When freetype support is in SVN, remove the space between vera-sans and the comma :)
2 // like: loadfont user0 gfx/vera-sans,gfx/fallback 8 12 16 24 32
3 // loadfont console gfx/vera-mono,gfx/fallback $con_textsize 9 10 11
4 // loadfont sbar gfx/vera-mono
5 loadfont notify gfx/vera-sans,gfx/fallback 8 12 16 24 32
6 loadfont chat gfx/vera-sans,gfx/fallback 8 13 16 24 32
7 // loadfont centerprint gfx/vera-mono
8 // loadfont infobar gfx/vera-mono
9 loadfont user0 gfx/vera-sans,gfx/fallback 8 12 16 24 32
11 // now create the real sbar_font alias
12 alias sbar_font "loadfont user1 ${1},gfx/fallback ${2-}; loadfont user2 ${1}-big,gfx/fallback ${2-}; sbar_columns_set"
13 // if _requested_sbar_font is empty, the string becaomse "nonempty: "
14 // for the case "nonempty: " a default value is used
15 // in any other case, the _requested_sbar_font is sued
16 set _used_sbar_font "nonempty: $_requested_sbar_font"
17 toggle _used_sbar_font "$_requested_sbar_font" "nonempty: " "gfx/vera-sans 8 12 16 24 32"
18 toggle _requested_sbar_font "" "gfx/vera-sans 8 12 16 24 32" "gfx/vera-sans 8 12 16 24 32" "$_requested_sbar_font"
19 sbar_font ${_requested_sbar_font asis}
21 set menu_font_size_snapping_fix 1