6#ifndef LV_FONT_FMT_TXT_H
7#define LV_FONT_FMT_TXT_H
31#if LV_FONT_FMT_TXT_LARGE == 0
39 uint32_t bitmap_index;
50 LV_FONT_FMT_TXT_CMAP_FORMAT0_FULL,
51 LV_FONT_FMT_TXT_CMAP_SPARSE_FULL,
52 LV_FONT_FMT_TXT_CMAP_FORMAT0_TINY,
53 LV_FONT_FMT_TXT_CMAP_SPARSE_TINY,
56typedef uint8_t lv_font_fmt_txt_cmap_type_t;
101 const uint16_t * unicode_list;
112 lv_font_fmt_txt_cmap_type_t
type;
124 const void * glyph_ids;
125 const int8_t * values;
126 uint32_t pair_cnt : 30;
127 uint32_t glyph_ids_size : 2;
140 const int8_t * class_pair_values;
141 const uint8_t * left_class_mapping;
142 const uint8_t * right_class_mapping;
143 uint8_t left_class_cnt;
144 uint8_t right_class_cnt;
149 LV_FONT_FMT_TXT_PLAIN = 0,
150 LV_FONT_FMT_TXT_COMPRESSED = 1,
151 LV_FONT_FMT_TXT_COMPRESSED_NO_PREFILTER = 1,
155 uint32_t last_letter;
156 uint32_t last_glyph_id;
162 const uint8_t * glyph_bitmap;
182 uint16_t cmap_num : 9;
188 uint16_t kern_classes : 1;
194 uint16_t bitmap_format : 2;
221 uint32_t unicode_letter_next);
bool lv_font_get_glyph_dsc_fmt_txt(const lv_font_t *font, lv_font_glyph_dsc_t *dsc_out, uint32_t unicode_letter, uint32_t unicode_letter_next)
void _lv_font_clean_up_fmt_txt(void)
lv_font_fmt_txt_bitmap_format_t
Definition lv_font_fmt_txt.h:148
const uint8_t * lv_font_get_bitmap_fmt_txt(const lv_font_t *font, uint32_t letter)
Definition lv_font_fmt_txt.h:63
uint16_t range_length
Definition lv_font_fmt_txt.h:69
uint32_t range_start
Definition lv_font_fmt_txt.h:65
uint16_t glyph_id_start
Definition lv_font_fmt_txt.h:72
const void * glyph_id_ofs_list
Definition lv_font_fmt_txt.h:106
uint16_t list_length
Definition lv_font_fmt_txt.h:109
lv_font_fmt_txt_cmap_type_t type
Definition lv_font_fmt_txt.h:112
Definition lv_font_fmt_txt.h:160
const void * kern_dsc
Definition lv_font_fmt_txt.h:176
Definition lv_font_fmt_txt.h:154
Definition lv_font_fmt_txt.h:30
uint8_t box_h
Definition lv_font_fmt_txt.h:35
int8_t ofs_x
Definition lv_font_fmt_txt.h:36
uint32_t bitmap_index
Definition lv_font_fmt_txt.h:32
int8_t ofs_y
Definition lv_font_fmt_txt.h:37
uint32_t adv_w
Definition lv_font_fmt_txt.h:33
uint8_t box_w
Definition lv_font_fmt_txt.h:34
Definition lv_font_fmt_txt.h:131
Definition lv_font_fmt_txt.h:116