bitbank2/OneBitDisplay

Characters are sometimes drawn with 1px left shift

Closed this issue · 1 comments

Characters drawn with odbWriteString() are sometimes placed with a left offset of 1px on the display.
I added two pictures which show the problem. Compare the placement of the "SF7" in the pictures.
This happenes accidentially, i can't see any context which could trigger this effect.
I did not see this effect with the former ss_oled library, using my same application code.

The shown characters were drawn by calling odbWriteString() with param int x = -1, meaning continue writing from the last cursor position, and param int iScroll = 0.

The effect seems to occur with all font sizes.

IMG_20200913_123611
IMG_20200913_123619

Please retest on the latest and open a new issue if it still exists.