Update README.md

This commit is contained in:
nopnop2002 2024-09-08 12:19:04 +09:00
parent 485b606112
commit 5f506ff0a3

View File

@ -16,9 +16,11 @@ You can find Monospaced fonts [here](https://en.wikipedia.org/wiki/List_of_monos
- Copy font file to fonts directory.
- Select font
- Select font.
load_font("/fonts/consola.ttf");
- Specify the display position and threshold
- Specify the display position and threshold.
The lower the threshold, the thicker the text.
The larger the threshold, the thinner the text.
render_text(&dev, 0, 16, 128, "FreeType");