flipper_cyrillic_example/font
Alexander Popov a16f7a6481
add font
2023-05-02 22:13:01 +03:00
..
bdfconv add font 2023-05-02 22:13:01 +03:00
.gitignore add font 2023-05-02 22:13:01 +03:00
README.md add font 2023-05-02 22:13:01 +03:00
monogram.ttf add font 2023-05-02 22:13:01 +03:00

README.md

🔤 Build font

⚠️ This guide aclualy for Linux.

1.

  1. Open *.ttf in FontForge.
  2. With Shift select needed glyps.
  3. Select Bitmap Scrike Available in Element menu.
  4. Write 16 in Pixel sizes text area.
  5. Select Generate Fonts in File menu.
  6. Select No Outline Font & BDF.
  7. Click Generate.

2. Make bdfconv

cd ./bdfconv
make

3. Generate u8g2 font

./bdfconv -f 1 -n u8g2_cyr_font -o cyr_font.c ../monogramextended-*.bdf