fix(tiny_ttf): fix no cache and formatting cleanup (#6568)

This commit is contained in:
Visa Harvey
2024-08-01 12:09:55 +03:00
committed by GitHub
parent 7791740de6
commit a623a5ca3d
3 changed files with 62 additions and 21 deletions

View File

@@ -31,7 +31,7 @@ After a font is created, you can change the font size in pixels by using
By default, a font will cache data for upto 256 glyphs elements to speed up rendering.
This maximum can be changed by using
:cpp:expr:`lv_tiny_ttf_create_data_ex(data, data_size, font_size, kerning, cache_size, )`
:cpp:expr:`lv_tiny_ttf_create_data_ex(data, data_size, font_size, kerning, cache_size)`
or :cpp:expr:`lv_tiny_ttf_create_file_ex(path, font_size, kerning, cache_size)` (when
available). The cache size is indicated in number of entries. Kerning is whether to allow
if supported, or disable.