Skip to content

Commit

Permalink
Merge pull request #111 from Maldus512/master
Browse files Browse the repository at this point in the history
Added version check for fallback field of the font struct
  • Loading branch information
kisvegabor authored Apr 4, 2024
2 parents 79bf3d5 + 7fdec02 commit 1b4883f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/writers/lvgl/lv_table_head.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,9 @@ lv_font_t ${f.font_name} = {
.underline_thickness = ${f.src.underlineThickness},
#endif
.dsc = &font_dsc, /*The custom font data. Will be accessed by \`get_glyph_bitmap/dsc\` */
#if LV_VERSION_CHECK(8, 2, 0) || LVGL_VERSION_MAJOR >= 9
.fallback = ${f.fallback},
#endif
.user_data = NULL,
};
`.trim();
Expand Down

0 comments on commit 1b4883f

Please sign in to comment.