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
          
            Last modified
 8 months ago          
          
            Last modified on 03/12/25 08:07:22
          
        
      
  Note:
 See   TracWiki
 for help on using the wiki.
    ![(please configure the [header_logo] section in trac.ini)](/chrome/site/cardinal.gif)