mathew-kurian/TextJustify-Android

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

lulee007 opened this issue · 3 comments

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

  • Line 1

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

the is missing.

  • Line 2

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

the is missing.

snapshoot

me too
Do you find the reason?

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

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 :-(