move lv_fonts from lv_misc next to lv_misc

This commit is contained in:
Gabor Kiss-Vamosi
2018-07-07 12:21:36 +02:00
parent 90679c2cf5
commit a6ee4a680c
69 changed files with 86 additions and 78 deletions

View File

@@ -14,7 +14,7 @@ extern "C" {
/*********************
* INCLUDES
*********************/
#if LV_CONF_INCLUDE_SIMPLE
#ifdef LV_CONF_INCLUDE_SIMPLE
#include "lv_conf.h"
#else
#include "../../lv_conf.h"
@@ -24,7 +24,7 @@ extern "C" {
#include <stddef.h>
#include <stdbool.h>
#include "lv_fonts/lv_symbol_def.h"
#include "../lv_misc/lv_symbol_def.h"
/*********************
* DEFINES
@@ -102,6 +102,14 @@ const uint8_t * lv_font_get_bitmap(const lv_font_t * font_p, uint32_t letter);
uint8_t lv_font_get_width(const lv_font_t * font_p, uint32_t letter);
/**
* Get the width of the letter without overwriting it with the `monospace` attribute
* @param font_p pointer to a font
* @param letter an UNICODE character code
* @return the width of a letter
*/
uint8_t lv_font_get_real_width(const lv_font_t * font_p, uint32_t letter);
/**
* Get the height of a font
* @param font_p pointer to a font