BigFont and BigFontSemi (make large versions of system font)
Posted: Thu Aug 15, 2024 10:26 pm
I just realized I never included these in the Forum Downloads! They were only in Discord (and the EXPLORE folder of the Launch SD card).
BIGFONT will scale a given text input to a given scale-factor (x1, x2, x3, etc.) They are converted into an in-memory array, so for long strings you can quickly run out of memory. This scales the currently active font.
BIGFONTSEMI is similar, but scales effectively to a x0.5 factor. A little confusing: it's not a smaller font, but smaller relative to the 1 pixel to 1-block that the x1 factor scaling would be. It has to examine the current font a little more carefully to adapt this to an appropriate PETSCII set of symbols.
Also serves as an example of using BASLOAD for something interesting. The computed "bigfonts" are stored in arrays that can be output for various purposes (printer, file), by default they go to the screen.
The TryIt example here is set to exercise BigFontSemi. The attached zip includes all variants.
Try It Now!
BIGFONT will scale a given text input to a given scale-factor (x1, x2, x3, etc.) They are converted into an in-memory array, so for long strings you can quickly run out of memory. This scales the currently active font.
BIGFONTSEMI is similar, but scales effectively to a x0.5 factor. A little confusing: it's not a smaller font, but smaller relative to the 1 pixel to 1-block that the x1 factor scaling would be. It has to examine the current font a little more carefully to adapt this to an appropriate PETSCII set of symbols.
Also serves as an example of using BASLOAD for something interesting. The computed "bigfonts" are stored in arrays that can be output for various purposes (printer, file), by default they go to the screen.
The TryIt example here is set to exercise BigFontSemi. The attached zip includes all variants.
Try It Now!