-
Notifications
You must be signed in to change notification settings - Fork 214
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
Cyrillic Font Rendering Issues on 64x32 LED Matrix Display #664
Comments
Your Cyrillic font bitmaps and glyphs are empty, what are you expecting to see? |
const GFXfont MyCyrillicFont PROGMEM = { |
According to the comments, you use UTF16 cyrillic codes, while Arduino IDE uses UTF8 codes. See more: PS And as I think, this issue has nothing to do with the library. |
thans for avialable for me, i use vscode-> PlatformIO IDE which is same with arduino IDE i guess. Here is my full bitmap and glyph data for all Cyrillic characters in UTF-8 encoding according to advise. after try below code i got nothing displayed // Bitmap data for Cyrillic characters // Glyph data for UTF-8 encoded Cyrillic characters // Define the font using UTF-8 encoded glyphs |
it might be a problem with a panel itself - did you test it with standard latin font and text? |
It seems that the |
can i use this library directly with my ESP32 |
No, but you could to use this code as an example and port it to your sketch |
does this library support Cyrillic Font in future with ESP32 |
What is the library you mean? |
Describe the bug
I am experiencing issues with rendering Cyrillic characters on a 64x32 LED matrix display. The text appears distorted, with characters overlapping and misaligned.
To Reproduce
Steps to reproduce the behavior:
Use the provided Cyrillic font data with the Adafruit GFX or similar library.
Render text on a 64x32 LED matrix display.
Observe the overlapping and misaligned characters.
Expected behavior
The Cyrillic characters should render clearly without overlapping, with correct alignment and spacing.
#include <Adafruit_GFX.h>
#include <ESP32-HUB75-MatrixPanel-I2S-DMA.h>
const uint8_t MyCyrillicFontBitmaps[] PROGMEM = {
// (Include the bitmap array here)
};
const GFXglyph MyCyrillicFontGlyphs[] PROGMEM = {
// (Include the glyph array here)
};
const GFXfont MyCyrillicFont PROGMEM = {
(uint8_t *)MyCyrillicFontBitmaps,
(GFXglyph *)MyCyrillicFontGlyphs,
0x0410, 0x044F, 11 // Start and end character, font height
};
void setup() {
// Initialize display here
}
void loop() {
// Nothing here
}
The text was updated successfully, but these errors were encountered: