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

I use "Online font converter" and "SquareLine" to gen font but the the compress not work!!! #98

Closed Staok closed 10 months ago

Staok commented 10 months ago

In "Online font converter" I checked the checkBox of "Enable Font compression" but no significant reduction in size of the output fons .c file, same thing happened in SquareLine(by not add "--no-compress" to the "Custom" option box)

why???

image

this pic show the "use compress" output the "ui_font_fontRef36Compress.c", and "not use compress" output is "ui_font_fontReg36.c", they are the same size, why???

kisvegabor commented 10 months ago

I've tested with the online font converter using these settings image

And it works for me: fonts.zip

Can you try to reproduce it?

Staok commented 10 months ago

@kisvegabor I see your test screenshot is use 4bpp, I tried with that and it compressed well In the first time I using the 1bpp, so the compress function not work well with 1bpp??