kefirfromperm/tk — Issue #1: Incorrect long words wrapping.
Author: kefirfromperm
Created: 2012-02-28 09:11:12+00:00
State: open

When renderer render long words more than STRING_LENGTH, wrapping work wrong.

Need change org.kefirsf.TextRenderer:

int end = Math.min(cur + STRING_LENGTH, string.length());
list.add(string.substring(cur, end));
cur = cur + end;

To

int end = Math.min(cur + STRING_LENGTH, string.length());
list.add(string.substring(cur, end));
cur = end;