FastLED 3.9.15
Loading...
Searching...
No Matches
font Directory Reference
+ Directory dependency graph for font:

Files

 _build.cpp.hpp
 
 console_font_4x6.h
 
 console_font_5x12.h
 
 console_font_5x8.h
 
 console_font_6x8.h
 
 console_font_7x9.h
 
 truetype.cpp.hpp
 
 truetype.h
 
 ttf_covenant5x5.cpp.hpp
 
 ttf_covenant5x5.h
 

Detailed Description

This directory contains font rendering support for FastLED.

TrueType Fonts

truetype.h / truetype.cpp.hpp

TrueType font rendering support for LED matrices.

ttf_covenant5x5.h / ttf_covenant5x5.cpp.hpp

Example TrueType font (Covenant 5x5) for LED displays.

Bitmap Console Fonts

Bitmap fonts courtesy of raster-fonts, originally copied from the WLED project.

Available fonts:

⚠️ BETA PREVIEW WARNING

All bitmap fonts are BETA PREVIEW. If you choose to use these fonts, keep in mind they will break in future versions until this API stabilizes.

Known limitations:

Recommendation: If you want to use these fonts, it's STRONGLY encouraged that you copy them to your own project. If you bind to these headers, you are on your own to fix your project when they change.

Usage

All fonts are in the fl namespace and use FL_PROGMEM for memory optimization on embedded platforms.

#include "fl/font/console_font_5x8.h" // Bitmap font
#include "fl/font/truetype.h" // TrueType support
// Use fl::console_font_5x8 for bitmap rendering
// Use fl::TrueType classes for vector font rendering