mathew-kurian/TextJustify-Android

The last word can't display per line using Chinese word?

twoconk opened this issue · 1 comments

SpannableDocumentLayout.java
function onMeasure()
// FIXME: Space at the end of each line, possibly due to scrollbar offset
LinkedList tokenized = tokenize(textCpy, start, end - 1);

modify to ->
LinkedList tokenized = tokenize(textCpy, start, end);