Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper Tools . Books 1-3 - <b>maxfont()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 MAXFONT()
 Determines the number of available fonts
------------------------------------------------------------------------------
 Syntax

     MAXFONT() --> nFontCount

 Returns

     MAXFONT() returns the number of fonts you can load simultaneously within
     the screen card in use.

 Description

     Depending upon the screen adapter and its available memory, a various
     number of screen fonts can be loaded simultaneously.  MAXFONT() returns
     the maximum number of loadable fonts and is very helpful when used in
     conjunction with FONTLOAD() or SETFONT().

 Note

     .  As a rule, EGA adapters support four different font areas and
        VGA adapters support eight.

 Examples

     .  Load a font in the highest font area available...

        FONTLOAD("ITALIC.016", MAXFONT())

     .  ...and then select that font:

        FONTSELECT(MAXFONT())


See Also: FONTLOAD() SETFONT() FONTSELECT()

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