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 369 forks source link

Scripts starts from right to left messed up. #110

Open uzghun opened 8 years ago

uzghun commented 8 years ago

Justification works well but Scripts starts from right to left (Arabic,Persian,Hebrew) mess up and loose it's meaning! I saw your screenshot at "Test" section but RTL left test reverses the content, it is not correct way to Justify.

arashmidos commented 8 years ago

Use these attributes and you'll get what you want:

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