DECLARE FUNCTION DQBloadFont (FileName AS STRING)
FileName - Font file with full extension
An INTEGER value holding the loading results: > 0 Loading successful > 1 Cannot open file, or file does not exist > 2 General reading error
Loads and sets a font from a specified file. The font file must contain the data in the first 2305 bytes, in the format explained into appendix C.
This function is useful as it doesn't require a QB buffer to hold the data; the disadvantage of using it, is that every time you change the font, the disk is accessed. By using DQBsetFont instead, you can keep your fonts in QB memory and set them as needed.