Everything is much simpler: these characters are not in standard fonts. And so it is drawn in version 6 normally. Although I do not understand, you can understand something here or not.
Hi
I meant that RTL languages (for example, Persian or Hebrew) are not needed for display. I do not propose switching to version 6, I just use it. I made a font from the standard Windows Arial Uni, but I have my own renderer. I can try to connect the resulting font to version 7, but I’m sure that everything will work fine.
As for the range, probably yes. The fact is that I do not control the setting of ranges. The script scans used strings and renders glyphs for all characters found. So now only symbols from the beginning of the declaration of rights have been generated.lv_font_tahoma.c (61.9 KB) lv_font_tahoma.h (676 Bytes)
It seems that everything works, at first glance. How are you trying to use the font? Can be set as default. And you can change the style of the object.
I got it working but as I was afraid there are problems with ligatures. After closely looking the text you have entered vs the output text you can see the difference. Some supposed to be joined letters have been rendered separately and incorrectly.
You can see right from the first word the differences. Hindi language has many cases of joint words. I have a working solution of this on raspberry pi using QT library. After searching more QT uses FreeType engine. How do I setup this engine and directly use ttf fonts?
Do you have any another solution in mind?
You can refer here the difficulty in adding support for Hindi manually
As India has many languages it is almost impossible to compile all rules
Is there any way to use ttf directly?
As far as I know, the normal support of languages with different letter styles depending on the position in the word and ligatures is a difficult task. Arabic has the same problems, plus RTL. And using Freetype here will not help. Here we also need a software layer like HarfBuzz, for example. An example of using Freetype for rendering in the target program is in the https://github.com/lvgl/lv_lib_freetype repository. Only the proper use of Freetype (with glyph caching) is also a rather difficult task.
I do not know much about the internal architecture of Qt, but in my opinion, there is a very high coherence of the code oriented to the slot signal architecture. And the license is generally not consistent with MIT.
By the time you’ve brought Qt into your project, you might as well use it for everything. Also, I very much doubt Qt can fit on the smaller devices we target (i.e. <256KB RAM, <512KB Flash).
I’ve just fixed the issue related to LV_USE_ARABIC_PERSIAN_CHARS.
If you have the proper characters in the font and use that font with the label it should display it.
However, if there are some special things like position-related character replace then further development is required on LVGL’s side. As it was already mentioned this kind of character replacement already works for Arabic/Persian language so probably we can handle the Indian language there too.