Skip to content

Yurii #412

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
yuraivan opened this issue Jul 17, 2024 · 1 comment
Open

Yurii #412

yuraivan opened this issue Jul 17, 2024 · 1 comment

Comments

@yuraivan
Copy link

Does exist cirylic fonts for this library?

@Adhelor
Copy link

Adhelor commented Mar 6, 2025

There is an Fork created on https://github.com/lorol/esp8266-oled-ssd1306 with cirylic fonts, and Java runtine for generating them.

The main difference is in DisplayOled.cpp where in ASCII look-up function is added:

case 0xD0: if (ch == 0x81) return  (0xA8);   //Ё
           else if (ch >= 0x90 && ascii <= 0xBF) return  (ch + 0x30);
           break;
case 0xD1: if (ch == 0x91) return  (0xB8);   //ё
           else if (ch >= 0x80 && ascii <= 0x8F) return  (ch + 0x70);
           break;

Based on above fork I've managed to implement characters from C4 & C5 range.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants