You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
# Utility to get a binary font. Causes segfault on fs_register. WIP
|
|
import lvgl as lv
|
|
import fs_driver
|
|
|
|
fs_drv = lv.fs_drv_t()
|
|
fs_driver.fs_register(fs_drv, 'S')
|
|
|
|
|
|
def get_binfont(path:str):
|
|
return lv.binfont_create(f"S:{path}")
|