39 #define SSD1306_MORE_CHARS_REQUIRED 0xffff 90 #ifndef DOXYGEN_SHOULD_SKIP_THIS 91 void loadFixedFont_oldStyle(
const uint8_t *progmemFont);
94 #ifndef DOXYGEN_SHOULD_SKIP_THIS 100 void loadSquixFont(
const uint8_t *progmemFont);
144 return m_fixedFont.
h;
163 return m_fixedFont.
pages;
166 #ifndef DOXYGEN_SHOULD_SKIP_THIS 167 const uint8_t *getPrimaryTable()
NanoFont(const uint8_t *progmemFont)
const uint8_t * primary_table
font chars bits
lcduint_t getTextSize(const char *text, lcduint_t *height=nullptr)
returns text width in pixels (and its height if height is requested)
void setSpacing(uint8_t spacing)
static uint16_t unicode16FromUtf8(uint8_t ch)
const SFontHeaderRecord & getHeader()
SFontHeaderRecord h
record, containing information on font
void loadFixedFont(const uint8_t *progmemFont)
void loadSecondaryFont(const uint8_t *progmemUnicode)
uint8_t spacing
spacing between two characters
void loadFreeFont(const uint8_t *progmemFont)
uint8_t pages
height in pages (each page height is 8-pixels)
void getCharBitmap(uint16_t ch, SCharInfo *info)
returns char data for currently set (active) font.