webview - Android - Justify alignment and custom font for Texts in Arabic and Persian languages -
i developing android application , need use justify text alignment , should use custom font texts. application in persian language.
if use textview showing texts cant set text alignment justify.
if use webview , load html cant use font (i know can set font using html , css not work languages persian , arabic , tested it, on android 4.4.2 see custom font on other versions of android webview show android default font)
i tried converting font svg nothings changed.
also searched in github custom webview or textview , fount 1 custom textview , both font , text alignment ok direction left right need right left (i tried changing gravity , other things cant fix problem).
so suggestion ? thank helping.
regards.
take @ this forum.i used this library following attrs , works perfectly:
ext:documentview_reverse="true" ext:documentview_textalignment="justified" ext:documentview_textformat="formatted"
Comments
Post a Comment