Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- dBsee 4.6 - The Library - <b>dffontdisk()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
dfFontDisk()
Loads a FONT from the disk.
------------------------------------------------------------------------------
Syntax:

     dfFontDisk( <cFont> ) --> cBuff

Parameters:

     <cFont>    Name of the font.

Returns:

     <cBuff> Buffer which contains the loaded font.

Description:

     Loads a 8x16 font from the disk.

Example:

     LOCAL cFont := dfFontDisk("BroadWay.vgf") // load
                                             // the Font
     IF EMPTY( cFont )
        dbMsgErr( "Error in font loading!" )
     ELSE
        dfFontLoad( cFont ) // Replace the current font
     ENDIF
     // ...
     dfFontRest()  // Reset old font

See also:

     dfFontLoad(), dfFontRest()

See Also: dfFontLoad() dfFontRest()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson