[Request][API]Get pixel width of char sequence

Possible use example for printing centered:

char text[] {"Hello World"};
int width = disp.getPrintedWidth(text); //or getFontWidth?
disp.print((disp.width / 2) - (width / 2), disp.height / 2, text);
2 Likes