Closed nxdefiant closed 1 year ago
Seen on BangleJS 2, firmware 2v16.11:
g.setFont("6x8:4").wrapString("abcdefghijklmopqrstuvwxyz", Bangle.appRect.w)
=[ "abcdefg", "hijklmopqrstuvwxyz" ]
I would have expected all lines to be max. floor(176px/(6px*4))=7 characters. The second line is obviously longer.
Duplicate of https://github.com/espruino/Espruino/issues/2194
Seen on BangleJS 2, firmware 2v16.11:
g.setFont("6x8:4").wrapString("abcdefghijklmopqrstuvwxyz", Bangle.appRect.w)
I would have expected all lines to be max. floor(176px/(6px*4))=7 characters. The second line is obviously longer.