From 7d5ed7d2c6a899d69c74d8422ff9a315c6d956cc Mon Sep 17 00:00:00 2001 From: nopnop2002 Date: Sun, 8 Sep 2024 14:10:25 +0900 Subject: [PATCH] Update README.md --- FreeTypeDemo/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/FreeTypeDemo/README.md b/FreeTypeDemo/README.md index e2c69ed..613504a 100644 --- a/FreeTypeDemo/README.md +++ b/FreeTypeDemo/README.md @@ -17,7 +17,7 @@ You can find Monospaced fonts [here](https://en.wikipedia.org/wiki/List_of_monos - Copy font file to fonts directory. - Select font. - load_font("/fonts/consola.ttf"); + ```load_font("/fonts/consola.ttf");``` - Specify the display position and threshold. The converted bitmap is monochrome data with gradations from 0 to 255. @@ -25,7 +25,7 @@ You can find Monospaced fonts [here](https://en.wikipedia.org/wiki/List_of_monos Unfortunately, SSD1306 cannot express gradations. The lower the threshold, the small value will display. As a result, the text becomes thicker. The higher the threshold, the small value will not display. As a result, the text becomes thinner. - render_text(&dev, 0, 16, 128, "FreeType"); + ```render_text(&dev, 0, 16, 128, "FreeType");``` # Bitmap gradation representation