The font class. Font is a property of the Bitmap class.
If there is a "Fonts" folder directly under the game folder, the font files in it can be used even if they are not installed on the system.
Creates a Font object.
Returns true if the specified font exists on the system.
The font name. Include an array of strings to specify multiple fonts to be used in a desired order.
font.name = ["Myriad", "Verdana"]
In this example, if the higher priority font Myriad does not exist on the system, the second choice Verdana will be used instead.
The default is ["Verdana", "Arial", "Courier New"].
The font size. The default is 24 (RGSS3).
The bold flag. The default is FALSE.
The italic flag. The default is FALSE.
The flag for outline text. The default is TRUE.
The flag for shadow text. The default is false (RGSS3). When enabled, a black shadow will be drawn to the bottom right of the character.
The font color (Color). Alpha values may also be used. The default is (255,255,255,255).
Alpha values are also used when drawing outline (RGSS3) and shadow text.
The outline color (Color). The default is (0,0,0,128).
You can change the default values set for each component when a new Font object is created.
Font.default_name = ["Myriad", "Verdana"] Font.default_size = 22 Font.default_bold = true