|
FontQuantity | ||
FontQuantity NumberOfFonts | ||
Parameters: NumberOfFonts = The size of the Font Table |
||
Returns: NONE | ||
FontQuantity lets you expand/shrink the number of available fonts. So if you ever run out, you can request more at any time. FACTS: * You can also lower the font quantity if you like (which can save some memory), but any font outside of the new range will be deleted. * Font quantity indexes is limit to 2^24 banks (over 24 million). * FontQuantity is irrelevant for users using dynamic font media creation commands. (See LoadNewFont etc) Since those command will auto exapnd the font table when needed. Mini Tutorial: This example simply gets the current font quantity, display it, then doubles the quantity and displays it again.
This example would output (This depends upon what version of PB your running, so the results may differ).
|
Related Info: | GetFontQuantity | GetFreeFont | LoadNewFont : |
|
|||||||||||||||||||||||||||||||||||||||
(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com |