v1.0

Dependencies:   Fonts TTF_fonts

Fork of RGB_Matrix by Jack Berkhout

font.h

Committer:
perlatecnica
Date:
2017-06-20
Revision:
1:0a1a89c55c7c

File content as of revision 1:0a1a89c55c7c:

#ifndef __FONT_H__
#define __FONT_H__


typedef unsigned char uint8_t;


typedef struct
{
  int width; // Character width in bits.
  int offset; // Offset in bytes into font bitmap.
}
FONT_CHAR_INFO;


typedef struct
{
  int height; // Character height in bits.
  char start_char; // Start character.
  const FONT_CHAR_INFO *p_character_descriptor; // Character decriptor array.
  const uint8_t *p_character_bitmaps; // Character bitmap array.
}
FONT_INFO;


#endif // __FONT_H__