Right to left script support
omidMolaverdi opened this issue · 8 comments
Thanks for the great package. I know that with proper fonts, the package supports right-2-left (R2L) scripts however the direction of letters on the photo is not right. Github issue does not allow me to upload a photo but the concept is easy to imagine. Let the R2L name is wonS nhoJ (from right to left it is John snow), then the current implementation of the picture would have JS in it that is read as Snow John because of the R2L nature of the language. I can temporarily suppress the problem by allowing only one letter of the word but could be much better to support the right direction of the script.
Hi,
is there any update on this thread?
Sorry for late response. I'm not familiar with RTL, but if I understand you correctly, we just need to reverse the initials.
normal -> RTL
BHW -> WHB
JS -> SJ
A -> A
@uyab yes that is right!
@uyab any update about the RTL vesion ?
Hi @abdullahessam, would you like to check dev-master
, add "rtl" => true
to your config/laravolt/avatar.php
and check if its working?
wow well done
thank you @uyab for this update i think you did n't the case well so here is an example for the problem my name is
abdullah essam so the expected letters is AE and this is happen correct but in RTL language like arabic for example
محمد عبدالله the expected letters should be م ع but the actual is ع م so we just need to auto support the rtl language i have no idea what well the users input in English or in arabic
any way thank you for your effort and really appreciate it