= ReadFont = Reads a font file into memory. {{{ int ReadFont(int nFont, const string& strFilename); int ReadFont(int nFont, const char* pszFilename); }}} == Parameters == * pszFilename - character array pointer to the path and filename of the font such as "/mnt/nand/fonts/Font788_8x2.fnt" * strFilename - const string reference to the path and filename of the font. == Return Value == * Returns 1 if successful 0 if file not found or some other problem with the file. == Remarks == == Examples == {{{ string strFontFile = "/mnt/nand/fonts/Font788_8x2.fnt"; ReadFont(11, strFontFile); }}} {{{ ReadFont(11, "/mnt/nand/fonts/Font788_8x2.fnt"); }}} == See Also == * [wiki:DisplayText DisplayText] * [wiki:IsFontLoaded IsFontLoaded]