06-27-2024, 08:02 PM
The issue is mentioned in the Wiki, but maybe isn't made that obvious:
> You cannot free a font which is in use. Change the font to a QB64 default font size before freeing the handle (see example below).
Basically, doing a `_FreeFont f` while `_Font f` is in use isn't allowed, it errors. To restore the default font you should use `_Font 16`, and after that is done you can do `_FreeFont f` with no issue.
> You cannot free a font which is in use. Change the font to a QB64 default font size before freeing the handle (see example below).
Basically, doing a `_FreeFont f` while `_Font f` is in use isn't allowed, it errors. To restore the default font you should use `_Font 16`, and after that is done you can do `_FreeFont f` with no issue.