react-native-pathjs-charts icon indicating copy to clipboard operation
react-native-pathjs-charts copied to clipboard

RTL Text problem

Open reza7rm opened this issue 8 years ago • 1 comments
trafficstars

Hi Unfortunately RTL text does not show correctly, Is there any plan for RTL support because text is shown sepa rated and in reverse in Persian. rtl issue

reza7rm avatar Aug 21 '17 04:08 reza7rm

? s i m e l b o r p e h t t a h w e e s t ' n o d I

In all seriousness, it looks like this is an issue with the react-native-svg library, since the following snippet reproduces the issue:

import Svg,{ G, Path, Text } from 'react-native-svg'
...
render(){
    let persianText = "الفبای فارسی‎‎";
    return (
      <View>
        <Svg width={200} height={200}><G><Text>{persianText}</Text></G></Svg>
      </View>
    )
}

TiraO avatar Aug 30 '17 19:08 TiraO