Legacy:GUIFont - Unreal Wiki

# Legacy:GUIFont

### From Unreal Wiki, The Unreal Engine Documentation Site

UT2003 :: Object >> GUI >> GUIFont (Package: XInterface)

GUIFont is used to give a single pipeline for handling fonts at multiple resolutions while at the same time supporting resolution independant fonts (for browsers, etc).

## Properties

string KeyName
  This is the name used for lookup.

bool bFixedSize
  If true, only FontArray[0] is used.

array<string> FontArrayNames
  Holds all of the names of the fonts.

array<Font> FontArrayFonts
  Holds all of the fonts.

## Methods

Font GetFont( int XRes ) [native,event]
  Returns the font for the current resolution.

Font LoadFontStatic( int i ) [static]
  Dynamically loads a font from default.FontArrayNames into default.FontArrayFonts and returns it.

Font LoadFont( int i )
  Dynamically loads a font from FontArrayNames into FontArrayFonts and returns it.

## Known Subclasses

- UT2DefaultFont
- UT2HeaderFont
- UT2IRCFont
- UT2LargeFont
- UT2MenuFont
- UT2MidGameFont
- UT2ServerListFont
- UT2SmallFont
- UT2SmallHeaderFont

## Related Topics

Category: Legacy Class (UT2003)

##### Views

- Legacy
- Discussion
- Current revision

##### Search