VSF Documented
Data Fields
lv_font_fmt_txt_glyph_dsc_t Struct Reference

#include <lvgl.h>

Data Fields

uint32_t bitmap_index: 20
 
uint32_t adv_w: 12
 
uint8_t box_w
 
uint8_t box_h
 
int8_t ofs_x
 
int8_t ofs_y
 

Detailed Description

描述一个符号.

Field Documentation

◆ bitmap_index

uint32_t lv_font_fmt_txt_glyph_dsc_t::bitmap_index

Start index of the bitmap. A font can be max 1 MB.

◆ adv_w

uint32_t lv_font_fmt_txt_glyph_dsc_t::adv_w

Draw the next glyph after this width. 8.4 format (real_value * 16 is stored).

◆ box_w

uint8_t lv_font_fmt_txt_glyph_dsc_t::box_w

Width of the glyph's bounding box

◆ box_h

uint8_t lv_font_fmt_txt_glyph_dsc_t::box_h

Height of the glyph's bounding box

◆ ofs_x

int8_t lv_font_fmt_txt_glyph_dsc_t::ofs_x

x offset of the bounding box

◆ ofs_y

int8_t lv_font_fmt_txt_glyph_dsc_t::ofs_y

y offset of the bounding box. Measured from the top of the line