Skip to content
Werner Stoop edited this page Dec 26, 2013 · 1 revision

Rengine has these fonts built in:

  • "NORMAL" - The default font. Inspired by the Apple II's system font.
  • "BOLD" - A bold font inspired by the Commodore 64's system font.
  • "CIRCUIT" - A circuit computer font inspired by 80's Sci-Fi games and books.
  • "HAND" - A font that resembles handwriting.
  • "SMALL" - A font with very small letters.
  • "SMALL_I" - The "Small" font, but with the foreground and background colors reversed.
  • "THICK" - A slightly thicker version of the normal font.

Developers If you need to add a new font, I suggest starting with the NORMAL font and saving it as an XBM in Gimp. The fonts need very specific dimensions in order to work. The fonts are placed in the fonts/ directory, and the xbm #included in bmp.c. Then you need to modify the bm_std_font() and friend functions. You'll need to update the Makefile as well.

Many of the fonts were inspired by this page: http://damieng.com/blog/2011/02/20/typography-in-8-bits-system-fonts

Clone this wiki locally