Lines Matching refs:in
4 A font is stored in a `lv_font_t` variable and can be set in a style's *text_font* field. For examp…
9 …per pixel)** property. It shows how many bits are used to describe a pixel in a font. The value st…
17 …is the default) and be sure that, `LV_TXT_ENC` is set to `LV_TXT_ENC_UTF8` in *lv_conf.h*. (This i…
27 ## Built-in fonts
29 There are several built-in fonts in different sizes, which can be enabled in `lv_conf.h` with *LV_F…
31 …cters, the degree symbol (U+00B0), the bullet symbol (U+2022) and the built-in symbols (see below).
61 The built-in fonts are **global variables** with names like `lv_font_montserrat_16` for a 16 px hei…
63 The built-in fonts with *bpp = 4* contain the ASCII characters and use the [Montserrat](https://fon…
65 In addition to the ASCII range, the following symbols are also added to the built-in fonts from the…
67 ![](/misc/symbols.png "Built-in Symbols in LVGL")
93 BiDi support is enabled by `LV_USE_BIDI` in *lv_conf.h*
96 However, in LVGL, the base direction is not only applied to labels. It's a general property which c…
100 The default base direction for screens can be set by `LV_BIDI_BASE_DIR_DEF` in *lv_conf.h* and othe…
115 - The texts in `lv_table`, `lv_btnmatrix`, `lv_keyboard`, `lv_tabview`, `lv_dropdown`, `lv_roller` …
118 …splay Arabic and Persian characters: the *form* of a character depends on its position in the text.
130 …antage of the position of physical color channels of each pixel, resulting in higher quality lette…
137 … LVGL assumes `RGB` order, however this can be swapped by setting `LV_SUBPX_BGR 1` in *lv_conf.h*.
141 - ticking the `Compressed` check box in the online converter
155 …ke the built-in fonts (Montserrat font and symbols) but in a different size and/or ranges, you can…
158 To declare a font in a file, use `LV_FONT_DECLARE(my_font_name)`.
160 To make fonts globally available (like the built-in fonts), add them to `LV_FONT_CUSTOM_DECLARE` in…
163 The built-in symbols are created from the [FontAwesome](https://fontawesome.com/) font.
165 …ttps://fontawesome.com/icons/usb?style=brands). Copy its Unicode ID which is `0xf287` in this case.
167 3. Set the parameters such as Name, Size, BPP. You'll use this name to declare and use the font in …
177 Note - `lv_label_set_text(label, MY_USB_SYMBOL)` searches for this symbol in the font defined in `s…
199 …esigned to be very flexible but, even so, you can add your own font engine in place of LVGL's inte…
202 A ready to use FreeType can be found in [lv_freetype](https://github.com/lvgl/lv_lib_freetype) repo…
217 /* Get info about glyph of `unicode_letter` in `font` font.
218 * Store the result in `dsc_out`.
228 dsc_out->adv_w = 12; /*Horizontal space required by the glyph in [px]*/
229 dsc_out->box_h = 8; /*Height of the bitmap in [px]*/
230 dsc_out->box_w = 6; /*Width of the bitmap in [px]*/
231 dsc_out->ofs_x = 0; /*X offset of the bitmap in [pf]*/
253 You can specify `fallback` in `lv_font_t` to provide fallback to the font. When the font