16FXlib
Font (font.h)

Detailed Description

Used by lcd.h, should not be included directly!

Overview
Defines fontsets for pixelmatrix LCDs.

Functions

uint8_tfont_getChar (uint8_t ascii, uint8_t font)
 
uint8_t font_getWidth (uint8_t font)
 
uint8_t font_getHeight (uint8_t font)
 

Macros

#define FONT_REGULAR   0
 
#define FONT_TINY   1
 
#define FONT_NANO   2
 

Function Documentation

uint8_t* font_getChar ( uint8_t  ascii,
uint8_t  font 
)

Retrieves the array of pages (-> pixels) for the specified ASCII value

Parameters
asciiASCII value
fontType of font
Returns
0 if character for value not defined, pointer to the first page for the character otherwise

Definition at line 345 of file font.c.