nextX = e.nextTabStop(nextX, 0);
stableX = nextX; // Cache ending x-coord. of tab.
start = i+1; // Do charsWidth() from next char.
break;
case ' ':
nextX = stableX + fm.charsWidth(text, start, i-start+1);
stableX = nextX; // Cache ending x-coord. of tab.
start = i+1; // Do charsWidth() from next char.
break;
default:
nextX = stableX + fm.charsWidth(text, start, i-start+1);