I used freetype in version 6.0 before, and it worked well；But when I replace it with 6.1.1, the font show error;What’s the difference between 6.1.1 and 6.0？
Check if subpixel hinting is enabled (the
subpx field in the font structure). Chances are you want to disable it for compatibility with 6.0.
That 's the problem！Thank you very much！
I assume you are creating the
lv_font_t structure dynamically, since you’re using FreeType.
Do you zero the buffer before setting any of the structure fields?
LV_FONT_SUBPX_NONE is intentionally equal to 0 so that existing programs continue to function. If not, you might want to consider doing that so you don’t run into this problem if/when another new field like
subpx gets added.
Glad to hear that it fixed you issue!
How fast was FreeType on your embedded hardware? (and what kind of hardware do you use?)
Sorry I haven’t logged into the forum for a long time. It’s a little late to reply；
I use it on NUC972，300Mhz and imx6ull，freetype enabled cache manger，very good experience, no difference in speed compared with the built-in Font ； I think freetype cache manger support can be added to “lv_freetype”.
Good to hear it! Can you send a pull request to enable the cache manager?
OK, there is some confusion in this code now. Let me sort it out.
I have send a pull request to the “lv_lib_freetype” repositorie