It looks like the drawString does not draw the char if it is on the boarder...
This could be possible - there is some code now which tries to clip offscreen chars to improve rendering speed.
Do you have a really simple example where this fails? For example if you run this code in the IDE:
var g = Graphics.createArrayBuffer(32,8,1); g.clear(); g.setFont("4x6"); g.drawString("ABCDEFG",0,0); g.dump();
You should see ABCDEFG in an image in the terminal... But maybe some other font/X/Y can cause it not to render the first characters properly?
ABCDEFG
@Gordon started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
This could be possible - there is some code now which tries to clip offscreen chars to improve rendering speed.
Do you have a really simple example where this fails? For example if you run this code in the IDE:
You should see
ABCDEFG
in an image in the terminal... But maybe some other font/X/Y can cause it not to render the first characters properly?