flipper_cyrillic_example/font/README.md

32 lines
727 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# ⛔ У меня не получилось собрать шрифт 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`
```sh
cd ./bdfconv
make
```
## 3. Generate `u8g2` font
```sh
./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