Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Flipper 6.0 Help File - <b>font_open()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
FONT_OPEN()
   Reads the font from disk and prepares it for use.

   Syntax
         nFontHandle = FONT_OPEN(cFileName)

   Arguments
         cFileName   Sets the file to open. Any legal DOS path and file
                     name.

   Returns
         nFontHandle Returns the number for the font.

   Description
         FONT_OPEN() reads the font from disk and prepares it for use. After
         the font is loaded into memory, the font file is closed. If
         successful, the function returns a font handle which is used by
         other functions to specify the font. A 0 is returned if an
         error occurs. (The first font handle loaded from disk begins with
         font handle 4, the first 2 are the internal machine fonts.)

         The 8x8 ROM BIOS font is already opened with a predefined handle
         of 1. If an EGA card is installed, the 8x14 font is also available
         as font handle 2, and likewise, if a VGA card is present, the 8x16
         font is also available as font handle 3.

         The font files have extensions of .@ and .#. Each file is named
         according to the type of font contained in the file. The .@
         extensions are the bitmapped fonts, and the files with extension .#
         are the stroke fonts.

See Also: FONT_CLOSE() FONT_NEW()

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