Fonts
textmode.js
works best with monospaced bitmap fonts that are perfect for creating ASCII art, textmode graphics, and retro computing aesthetics. This page showcases a curated collection of fonts that work exceptionally well with the library.
Font Requirements
For optimal results with textmode.js
, fonts should be:
- Monospaced: Each character occupies the same width
- Bitmap-style: Clear, pixel-perfect rendering at small sizes
- Consistent metrics: Uniform character spacing and alignment
IMPORTANT
Fonts for use with textmode.js
need to be be provided in OTF
or TTF
format.
Using Fonts with textmode.js
To use a specific font with textmode.js
, you'll need to:
- Download a font from the provided links below or from your preferred font repository
- Include the font in your project
- Specify the font path when calling the
loadFont
method in yourtextmodifier
instance:
await textmodifier.loadFont("./path/to/your/font.ttf");
TIP
You can also load fonts from a CDN or web font service by providing the URL directly.
await textmodifier.loadFont("https://example.com/path/to/font.ttf");
Featured Fonts
Contributing
Have a great monospaced font that works well with textmode.js
? We'd love to feature it! Please open an issue or submit a pull request with:
- Font preview image
- Description and specifications
- Download/license information
License Information
Please respect the individual licenses of each font. Some fonts are released under permissive licenses like CC0, while others may have specific usage requirements. Always check the license before using a font in your projects.