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

[BUG]ChineseCharacterTest every line in the end miss one Character #100

Open lulee007 opened 8 years ago

lulee007 commented 8 years ago

in your project activity: ChineseCharacterTest every line in the end miss one Character and i use the VernonLee-TextJustifyDemo solved it .

事訖乃返己轉身,可曰:以測機意」樂而不淫誨去出.,可曰:」誨耳出意.第十一回後竊聽己轉身訖乃返建章曰:...

the is missing.

回後竊聽己轉身訖乃返建章曰:.父親回衙汗流如雨玉,不題.,可事

the is missing.

snapshoot

kangnixi commented 8 years ago

me too Do you find the reason?

mathew-kurian commented 8 years ago

Hmm. Do you have bandwidth to issue a PR? Ill take a look at it otherwise.

arashmidos commented 8 years ago

This bug exist for RTL languages like "Persian" too. I used these attr:

ext:documentView_reverse="true"
ext:documentView_textAlignment="justified"
ext:documentView_textFormat="formatted"

and the first character after the period is missed :-(