OpenFontRender
OpenFontRender copied to clipboard
Seems unable to render fonts with too large font size
Hello, I came across your project and I ported it to my own device, excitingly it works for the most part, but I found a frustrating problem. When I set the font too big (about bigger than 170) it doesn't draw the font I want, have you encountered a similar problem? This is my code,I did not find any errors.
if (render->loadFont(_TimeFontPath))
{
Serial.println("Render initialize error");
return;
}
render->setDrawPixel(EPD->DrawPixel);
render->setFontSize(180);
render->setCursor(50, 70);
render->printf("A");
render->drawChar('1', 100, 100);
Thank you for using this library! 😄
The same problem occurred in my environment too. I will try to fix it. Please wait for a while.
@HalfSweet
The issue has been fixed and merged into the master branch. Thank you for your contribution.
P.S. Sorry for the delay 🙇♂️
I have displayed up to 180 points and it works great. I call it fixed!