This article explains fonts for the GraphicsWindow object in Microsoft Small Basic:
Small Basic: Font
This article was written by Nonki Takahashi.
A Font is a designed character set. In Windows, many programs have the ability to change fonts. Many fonts are installed into C:\Windows\Fonts folder. For example, this article uses "Segoe UI" font.
There are four font properties in GraphicsWindow.
If GraphicsWindow.FontBold is "True", font characters become thick. Default GraphicsWindow.FontBold value is "True".
If GraphicsWindow.FontItalic is "True", font characters become slant. Default GraphicsWindow.FontItalic value is "False".
GraphicsWindow.FontName contains font face name.
"Tahoma" is the default font name in local (in Small Basic IDE). "Segoe UI" is the default font name in remote (in smallbasic.com - Microsoft Small Basic Program Listing web site).
GraphicsWindow.FontSize means the height [pixels] of characters. In some fonts such like "Tahoma", FontSize means the height between the top line and baseline. In some fonts such like "Courier New", FontSize means the height between the top line and the bottom line. You can recognize this with a sample program Font Sample 0.1 described below.
Default font size is 12 [pixels].
I recommend you to use following six fonts because both Windows and Mac OS system pre-install these fonts.
Read the rest of the article here:
Thank you to Nonki! To see a lot of great articles about Small Basic, visit the Small Basic Portal on TechNet Wiki.
- Ninja Ed