esp8266-oled-ssd1306 icon indicating copy to clipboard operation
esp8266-oled-ssd1306 copied to clipboard

Yurii

Open yuraivan opened this issue 1 year ago • 1 comments

Does exist cirylic fonts for this library?

yuraivan avatar Jul 17 '24 13:07 yuraivan

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.

Adhelor avatar Mar 06 '25 11:03 Adhelor