# Child-facing UI font subsets

`lv_font_home_22.c`, `lv_font_home_32.c`, and `lv_font_home_44.c` are generated from [Noto Sans CJK SC Regular](https://github.com/notofonts/noto-cjk/tree/main/Sans/OTF/SimplifiedChinese) with `lv_font_conv`. The font is distributed under the SIL Open Font License 1.1; see [OFL.txt](OFL.txt).

Regenerate the C files with `scripts/gen_home_fonts.sh [path/to/NotoSansCJKsc-Regular.otf]` from the project root. The script collects Chinese characters used in `src/display/ui` automatically. Nicknames entered at runtime may contain characters outside this subset; add the approved nickname characters before a real child profile is displayed, or switch to an on-device dynamic font.
