Hi there!
Inspired of MAX7219digit integration! Thanks Otto, Franck and band!
Faced a strange behavior of text alignment with it.print
, it.strftime
and it.printf
.
Simple
it.printf(0, 0, id(digit_font), "Hello");
and
it.print(0, 0, id(digit_font), "Hello");
Places the text anchor in the different position. And if I’m using “standard” font pixelmix.ttf
I can play with TextAlign::BOTTOM_LEFT
and finally put text at the expected place. But I’m using cool 3x6 pixel font codi - https://www.dafont.com/codi.font which can not to be aligned this way, unfortunately.
Any suggestions ?
It’s looks like typo which @Zoker had found - Display custom text on MAX7219
But I still confused which alignment does font has by default.