Skip to content

Online font converter behaivor #147

@mishkashishka0

Description

@mishkashishka0

LGVL v.9.3.0 from platfformio

https://lvgl.io/tools/fontconverter generate diffrent CLI options than lv_conf_tool

web version output:

 * Size: 16 px
 * Bpp: 4
 * Opts: --bpp 4 --size 16 --no-compress --stride 1 --align 1 --font UbuntuSansMono-Regular.ttf --range 32-127,176,8226,1040-1103 --font FontAwesome5-Solid+Brands+Regular.woff --range 61441,61448,61451,61452,61452,61453,61457,61459,61461,61465,61468,61473,61478,61479,61480,61502,61507,61512,61515,61516,61517,61521,61522,61523,61524,61543,61544,61550,61552,61553,61556,61559,61560,61561,61563,61587,61589,61636,61637,61639,61641,61664,61671,61674,61683,61724,61732,61787,61931,62016,62017,62018,62019,62020,62087,62099,62212,62189,62810,63426,63650 --format lvgl -o lv_font_ubuntu_mono_16.c

ofline version output:

 * Size: 16 px
 * Bpp: 4
 * Opts: --no-compress --no-prefilter --bpp 4 --size 16 --font UbuntuSansMono-Regular.ttf -r 0x20-0x7F,0xB0,0x2022,0x0410-0x044F --font FontAwesome5-Solid+Brands+Regular.woff -r 61441,61448,61451,61452,61452,61453,61457,61459,61461,61465,61468,61473,61478,61479,61480,61502,61507,61512,61515,61516,61517,61521,61522,61523,61524,61543,61544,61550,61552,61553,61556,61559,61560,61561,61563,61587,61589,61636,61637,61639,61641,61664,61671,61674,61683,61724,61732,61787,61931,62016,62017,62018,62019,62020,62087,62099,62212,62189,62810,63426,63650 --format lvgl -o lv_font_ubuntu_mono_16.c --force-fast-kern-format

This difference results in the fact that creating the lv_dropdown_create(your_screen) widget with online-generated font causes the ESP32S3 to freeze, but simulator will be working fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions