m5stack / M5StickC-Plus

M5StickCPlus Arduino Library
MIT License
372 stars 89 forks source link

Free_Fonts.h missing #38

Closed uehara00 closed 2 years ago

uehara00 commented 2 years ago

Describe the bug

The source file "Free_Fonts.h" is missing. So I cannot complete compiling codes with free font. The statement below: M5.Lcd.setFreeFont(FSS9); causes a message: error: 'struct GFXfont' has no member named 'range_num'

To reproduce

include

include

void setup() { M5.begin(); M5.Lcd.setFreeFont(FSS9); M5.Lcd.drawString("Test drawString", 0, 0, GFXFF); } void loop() { M5.update(); }

Expected behavior

I have copied "Free_Fonts.h" from M5Stack repository, and complete compiling and some free fonts are displayed on the LCD.

Screenshots

No response

Environment

Additional context

It will be same for the M5Stick repository.

Issue checklist

Tinyu-Zhao commented 2 years ago

Thank you for your feedback, I have reproduced the problem and will add the missing files. https://github.com/m5stack/M5StickC-Plus/commit/75db32f5bf1a6c835adef00b0457ac4441431bed