mathew-kurian / TextJustify-Android

:page_facing_up: Android Text Full Jusiftication / Wrapping / Justify / Hyphenate - V2.0
https://github.com/bluejamesbond/TextJustify-Android/wiki
Apache License 2.0
1.86k stars 370 forks source link

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

Open twoconk opened 8 years ago

twoconk commented 8 years ago

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);

mathew-kurian commented 8 years ago

PR?