lvgl / lv_font_conv

Converts TTF/WOFF fonts to compact bitmap format
https://lvgl.io/tools/fontconverter
MIT License
187 stars 79 forks source link

Can use lv_font_conv as node.js module ? #78

Closed maxpromer closed 2 years ago

maxpromer commented 2 years ago

My project use Node.js (JavaScript) and i needs use lv_font_conv but i not found how i can add lv_font_conv to my project with use as module so are you have some sample code use it as module ?

puzrin commented 2 years ago

There was no goal to privide library API, but you can do require('lv_font_conv/lib/convert') and inspect the code, how it's used, about options. Or just call CLI script via .execSync()