dejavu 10 and 8 added but not corrected

This commit is contained in:
Kiss-Vamosi Gabor
2016-12-15 19:47:27 +01:00
parent 8d70829493
commit c1e4acc661
7 changed files with 5168 additions and 1 deletions

View File

@@ -8,6 +8,7 @@
*********************/
#include <stddef.h>
#include "font.h"
#include "fonts/dejavu_10.h"
#include "fonts/dejavu_14.h"
#include "fonts/dejavu_20.h"
#include "fonts/dejavu_30.h"
@@ -54,6 +55,16 @@ const font_t * font_get(font_types_t font_id)
switch(font_id)
{
#if USE_FONT_DEJAVU_8 != 0
case FONT_DEJAVU_8:
font_p = dejavu_8_get_dsc();
break;
#endif
#if USE_FONT_DEJAVU_10 != 0
case FONT_DEJAVU_10:
font_p = dejavu_10_get_dsc();
break;
#endif
#if USE_FONT_DEJAVU_14 != 0
case FONT_DEJAVU_14:
font_p = dejavu_14_get_dsc();