Searched refs:imgfont (Results 1 – 5 of 5) sorted by relevance
1 # Image font (imgfont)2 Draw image in label or span obj with imgfont.9 To create a new imgfont use `lv_imgfont_create(height, path_cb)`.11 `height` used to indicate the size of a imgfont.14 Use `lv_imgfont_destroy(imgfont)` to destroy a imgfont that is no longer used.18 .. include:: ../../examples/others/imgfont/index.rst
14 imgfont
32 lv_font_t * imgfont = lv_imgfont_create(80, get_imgfont_path); in lv_example_imgfont_1() local33 if(imgfont == NULL) { in lv_example_imgfont_1()37 imgfont->fallback = LV_FONT_DEFAULT; in lv_example_imgfont_1()41 lv_obj_set_style_text_font(label1, imgfont, LV_PART_MAIN); in lv_example_imgfont_1()
4 .. lv_example:: others/imgfont/lv_example_imgfont_1
355 …xts with this great new features. See more [here](https://docs.lvgl.io/master/others/imgfont.html).395 - feat(font): add imgfont - can be used to add emojis to label/span [`3160`](https://github.com/lv…584 - example(imgfont): fix lvgl.h include path [`3405`](https://github.com/lvgl/lvgl/pull/3405)612 - docs(others): add imgfont to the index [`656a0e5`](https://github.com/lvgl/lvgl/commit/656a0e5167…