Simple Font Draw

As the title suggests, this is a simple routine for redefining fonts, such as name, size, bold, italic, etc. Although this was written in RMXP, it should also work in RMVX and RMVXA.

The default format for manipulating fonts in windows is:

self.contents.font.name = "font name"
self.contents.font.size = 22
and so on. The reason that self.contents is used first is because this refers to the bitmap (Bitmap) used for the window’s contents.

Whenever fonts need to be "drawn" into a window, the font and draw methods will be called from Bitmap and written into the window contents area.