flipper_cyrillic_example/font
2023-05-03 00:05:40 +03:00
..
bdfconv add font 2023-05-02 22:13:01 +03:00
.gitignore add font 2023-05-02 22:13:01 +03:00
monogram.ttf add font 2023-05-02 22:13:01 +03:00
README.md first draft 2023-05-03 00:05:40 +03:00

У меня не получилось собрать шрифт bdfconv, который бы работал на Flipper

🔤 Build font

⚠️ This guide aclualy for Linux.

1. Generate BDF

  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 -m '32-255' -n u8g2_cyr_font -o cyr_font.c ../monogramextended-*.bdf

Learn

https://github.com/olikraus/u8g2/blob/master/doc/faq.txt