context.logicalColumn += context.symbolWidthInColumns;
context.x = newX;
offset2widthInPixels.put(context.offset, context.symbolWidthInPixels);
context.offset++;
}
<BUG>private static int calculateWidthInColumns(int widthInPixels, int spaceWithInPixels) {

int result = widthInPixels / spaceWithInPixels;</BUG>
if (widthInPixels % spaceWithInPixels > 0) {
result++;

context.logicalColumn += context.symbolWidthInColumns;
context.x = newX;
offset2widthInPixels.put(context.offset, context.symbolWidthInPixels);
context.offset++;
}
private static int calculateWidthInColumns(char c, int widthInPixels, int spaceWithInPixels) {
if (c != '\t') {
return 1;
}
int result = widthInPixels / spaceWithInPixels;
if (widthInPixels % spaceWithInPixels > 0) {
result++;
