Open cosmolabs-ru opened 9 months ago
Looks reasonable. To clarify: does it work with the fonts built-in into the library? Did you try to replace WriteChar with your implementation and execute the example code: https://github.com/afiskon/stm32-st7735/blob/master/Src/main.c ?
Hello! I used MatrixFont to make Cyrillic fonts for use with your library. Somehow, I encountered a bug: with some fonts, WriteChar() adds a big margin (up to 30% width) on the left of a glyph, and crops off as much on the right. I checked MatrixFont's output, and found it suitable for use with this lib. But somehow, built in fonts work, third-party-generated ones don't.
So i rewrote WriteChar() to display third-party fonts without aberrations. Check it out.