14#ifndef Monofonto_Regular_20_DEFINED
15#define Monofonto_Regular_20_DEFINED
27 static const int16_t charDefData[69][7]
PROGMEM;
59 uint8_t sizeSt =
sizeof(results);
61 for (uint8_t ii = 0; ii < sizeSt; ii++)
63 data[ii] = pgm_read_byte(&(charDefData[ndx][ii]));
65 memcpy(&results, &data, 2*sizeSt);
78 default:
return false;
Defines the base class used by all Graphical Fonts.
Data Structure that defines an individual character.
Definition GrFont.h:19
static const int8_t charDefNdx[] PROGMEM
Index mapping characters to entries in the charDefData table.
Definition Monofonto-Regular-20.h:26
bool charDef(char cc, CharDef_t &results) const
Defines the properties of each character.
Definition Monofonto-Regular-20.h:49
int8_t kerning(uint16_t ID) const
Returns the amount of kerning that should be used between two characters.
Definition Monofonto-Regular-20.h:76
Monofonto_Regular_20(void)
Constructs a new font object.
Definition Monofonto-Regular-20.h:32
const uint8_t charDefNdxOffset
Offset to the first character in the index.
Definition Monofonto-Regular-20.h:25