GPS Tracker with a TFT display, GPLV3

Dependencies:   MAX17055 MAX32620FTHR MAX77650 SerialGPS

fonts.h

Committer:
DimiterK
Date:
2018-08-18
Revision:
0:48d0ba737b93

File content as of revision 0:48d0ba737b93:


/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef __FONTS_H
#define __FONTS_H


/* Includes ------------------------------------------------------------------*/
#include <stdint.h>

/* Max size of bitmap will based on a font24 (17x24) */
#define MAX_HEIGHT_FONT         24
#define MAX_WIDTH_FONT          17
#define OFFSET_BITMAP           54


typedef struct _tFont
{    
  const uint8_t *table;
  uint16_t Width;
  uint16_t Height;
  
} sFONT;

//#include "font8.h"
//#include "font12.h"
//#include "font16.h"
//#include "font20.h"
//#include "font24.h"


extern sFONT Font24;
extern sFONT Font20;
extern sFONT Font16;
extern sFONT Font12;
extern sFONT Font8;


  
#endif /* __FONTS_H */