Skip to content

Monofont v1.0.0

Latest

Choose a tag to compare

@fostot fostot released this 03 Mar 15:39

Monofont v1.0.0

Self-contained monospace bitmap font renderer for Terraria.

Features

  • Pixel-perfect 8x16 monospace text rendering (Spleen bitmap font)
  • 994 Unicode glyphs (Latin, Cyrillic, Greek, Box Drawing, Braille, Powerline, symbols)
  • Zero compile-time dependencies — runtime reflection for all Terraria/XNA APIs
  • Fully self-contained — entire font embedded as byte data, no external textures

Installation

Download Monofont.dll (or extract from Monofont-v1.0.0.zip) and place it in your Terraria install directory:

Steam:

C:\Program Files (x86)\Steam\steamapps\common\Terraria\Monofont.dll

GOG:

C:\Program Files\Terraria\Monofont.dll

The DLL goes in the same folder as Terraria.exe.

Quick Start

using Monofont;

MonoFont.Initialize();
if (MonoFont.IsReady)
    MonoFont.DrawText("Hello!", 100, 50, 255, 255, 255);

See the README for full API reference, fallback patterns, and usage details.