Online font converter updated to be 6.1 and arduino repo hasnt

The online font converter for 6.1 isnt fully compatible with 6.0.x

What MCU/Processor/Board and compiler are you using?

ESP32 (LONIN32) with arduino and the current version of the Lvgl Arduino repo.

What do you experience?

As there have been some changes the alpha chars, colons full stops etc appear below where they should.

What do you expect?

If we could still access the older converter for 6.0.x that would be great

Code to reproduce

Screenshot and/or video

As far as I know, the new font converter should be backwards compatible. Does this happen with all fonts or just one?

I’m sorry i dont understand your question.

I did start off by just trying to create a 20px version of roboto and noticed this issue. I then tried to create a 16px version with the new FA icons and had the same issue.

I went back to a version i created a couple of weeks ago and back to looking as it should.

I can add both working and broken font files if thats of any help?

Sure, yes, please add them.
And also screenshot about the configuration of the online converter.

As requested:

image|591x499


Roboto_16_NumC.c (79.9 KB)
Roboto_16_NumC.broken.c (43.9 KB)

Your broken font is really broken for me too, however I generated a new one, it worked well.

test_font.c (79.8 KB)

Hmm, I don’t know what to say…

I can repeatedly reproduce this. I think it’s linked to the following font and symbols from https://github.com/littlevgl/lvgl/tree/master/scripts/built_in_font

FontAwesome5-Solid Brands Regular.zip (195.7 KB)

61441,61448,61451,61452,61452,61453,61457,61459,61461,61465,61468,61473,61478,61479,61480,61502,61512,61515,61516,61517,61521,61522,61523,61524,61543,61544,61550,61552,61553,61556,61559,61560,61561,61563,61587,61589,61636,61637,61639,61671,61674,61683,61724,61732,61787,61931,62016,62017,62018,62019,62020,62087,62099,62212,62189,62810,63426,63650

If i use the older FontAwesome.ttf i get:
image

Ive tried refreshing the browser (ctl F5) but that didn’t help.

Let me know how you get on with the FA update.

Thanks for the excellent work.
Alex

The online converter is just updated. Pleas try again and use the

  • symbol font you con download from there
  • symbol list (ranges) provided on the site

Hi,

Ive given it another go but i now get the error:

image

Thats using the woff file from the site, Roboto font from the built in font folder and the following range:

61441,61448,61451,61452,61452,61453,61457,61459,61461,61465,
61468,61473,61478,61479,61480,61502,61512,61515,61516,61517,
61521,61522,61523,61524,61543,61544,61550,61552,61553,61556,
61559,61560,61561,61563,61587,61589,61636,61637,61639,61671,
61674,61683,61724,61732,61787,61931,62016,62017,62018,62019,
62020,62087,62099,62212,62189,62810,63426,63650

Any ideas?

Thanks
Alex

I’ve fixed it. The FontAwesome font wasn’t updated. Please download it again.

Sorry, i’m still getting:

image

Anything else i can try?

Thanks

Try to refresh littlevgl.com Ctrl + F5.
Maybe the old version is cached.

Ok, I’ve tried that in Chrome and still get the same error. Ive also tried it in Edge, i never use Edge so it cant be cached on there.

Just using the FA downloaded from that page with the following symbols copied from the same:

61441,61448,61451,61452,61452,61453,61457,61459,61461,61465,
61468,61473,61478,61479,61480,61502,61512,61515,61516,61517,
61521,61522,61523,61524,61543,61544,61550,61552,61553,61556,
61559,61560,61561,61563,61587,61589,61636,61637,61639,61671,
61674,61683,61724,61732,61787,61931,62016,62017,62018,62019,
62020,62087,62099,62212,62189,62810,63426,63650

Any other suggestions?

Thanks

I’ve also tested in an other browser and it worked. Here is what I did:

Thats really strange.

You did exactly what i was trying. I gave it another go and its now producing a file that looks correct.

The only issue left is the new online converter is adding:

.subpx = LV_FONT_SUBPX_NONE,

to the initialization:

This seems incompatible with 6.0

Removing this allows the newly converted font to work.

Thanks
Alex

See https://github.com/littlevgl/lv_port_esp32_ili9341/issues/41#issuecomment-565745265, where someone else reported the same issue.