lvgl / lv_demos

Examples, tutorials and applications for the LVGL embedded GUI library
https://lvgl.io
488 stars 366 forks source link

#132 breaks build #134

Closed higaski closed 2 years ago

higaski commented 2 years ago

The latest commit which merged the PR #132 broke my build. It removed font declarations needed later in the file.

lv_demo_benchmark.c:404:44: error: ‘lv_font_montserrat_12_compr_az’ undeclared (first use in this function); did you mean ‘lv_font_montserrat_12_subpx’?
  404 |     lv_style_set_text_font(&style_common, &lv_font_montserrat_12_compr_az);
      |                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                            lv_font_montserrat_12_subpx
liukangcc commented 2 years ago

Sorry, I improved the code, you can review the PR.

kisvegabor commented 2 years ago

True, see https://github.com/lvgl/lv_demos/pull/132#issuecomment-970145414

mz8023yt commented 2 years ago

中文:这个问题需要在 lv_conf.h 文件中,将 LV_FONT_MONTSERRAT_12 宏控的值从 0 修改为 1。 English:This problem requires changing the LV_FONT_MONTSERRAT_12 macro value from 0 to 1 in the lv_conf.h file.

stale[bot] commented 2 years ago

This issue or pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.