badger2040
badger2040 copied to clipboard
white space is mashed for bitmap fonts
I would like to reopen this issue. The whitespace character is messing things up somehow. See:
I used
badger.text(strLine, x, y, scale=2,spacing=1,fixed_width=True) (yeah I know spacing is not a thing when using the bitmap fonts, but I tried to make sure)
If I use _ for padding up spaces (using micropythons .format) everything is as expected, but space characters (ASCII 0x20 I suppose) fail to do so. Will have a look at the code if I got some time left
https://github.com/pimoroni/pimoroni-pico/pull/846/commits/91f95a2e006d7c25e9df6cbeb4d1b66a16159188 PR is done for pimoroni-pico, so badger2040 needs a version upped?
Fix should be available in CI builds for this PR - https://github.com/pimoroni/badger2040/pull/52
Think this one is now sorted, closing for now.