lvgl icon indicating copy to clipboard operation
lvgl copied to clipboard

Creating the same output as in version 5.3

Open SalahuddinAsh opened this issue 1 year ago • 4 comments

LVGL version

5.3

What happened?

I used to generate C arrays for my fonts using the online font converter version 5.3 using this link https://lvgl.io/tools/font_conv_v5_3

The generated arrays used to have the character as comments beside the code itself as in this screenshot image

The glyph descriptors used to be simple with w_px and glyph_index only

image

This used to work fine with my code

Currently as the link to font converter 5,3 is not valid anymore, when I try to create a C array with the current font converter I get completely different output with a much bigger glyph descriptor and there is no symbol for the character as comments beside the code itself.

I also tried to run the offline tool https://github.com/lvgl/lv_font_conv but the output was the same

lv_font_conv --font JetBrainsMono-Bold.ttf -r 0x20-0x7f --size 24 --format lvgl --lv-include lvgl.h --bpp 1 -o myfont.c

Is there a way that I can get the same output as before?

How to reproduce?

No response

SalahuddinAsh avatar Sep 28 '24 19:09 SalahuddinAsh

Hey,

When we have created our new webpage the v5.3 font converter wasn't added. I thought it's not really used anymore :sweat_smile:

You can still access it here: https://dev.lvgl.io/tools/font_conv_v5_3

kisvegabor avatar Oct 03 '24 09:10 kisvegabor

We need some feedback on this issue.

Now we mark this as "Abandoned" because there was no activity here for 14 days.

Remove the "Stale" label or comment else this will be closed in 7 days.

lvgl-bot avatar Oct 19 '24 02:10 lvgl-bot

@SalahuddinAsh Hi, is this still a valid issue?

kissa96 avatar Oct 21 '24 09:10 kissa96

Actually I could create my own tool to do almost the same as version 5.3. It is not perfect as version 5.3 used to be for me. I think adding this option to the website will be a good/useful option for some people.

SalahuddinAsh avatar Oct 21 '24 13:10 SalahuddinAsh

Cool. Looking forward to it

kissa96 avatar Oct 22 '24 08:10 kissa96

it would be really great to add it, however the old tool is written in PHP and the current site doesn't use PHP :slightly_frowning_face:

kisvegabor avatar Oct 23 '24 06:10 kisvegabor

In lack of a good solution I close this issue for now. 🙁

kisvegabor avatar Oct 30 '24 14:10 kisvegabor