Thanks! I followed your instructions ang got this:
MICROPYPATH="" ports/unix/micropython-dev -i lv_examples/src/lv_mpy_demo_printer/lv_demo_printer.py
Traceback (most recent call last):
File "lv_examples/src/lv_mpy_demo_printer/lv_demo_printer.py", line 3, in <module>
ImportError: no module named 'display_driver_utils'
MicroPython d7ae5ca-dirty on 2021-03-02; linux version
@uraich
I don’t think the font loader itself is wrong because it’s one of teh few parts of LVGL that have correct tests.
I don’t know how it’s managed in MP but the font loader uses LVGL’s File system API. So you need to register driver with like this.
Finally myfont_en = lv.font_load("font/font-PHT-en-20.bin")
should look like
myfont_en = lv.font_load("A/font/font-PHT-en-20.bin")
where ‘A’ is letter you have assigned to the drive.