Node.js module for reshaping Right-To-Left (Arabic/Persian) charators in string
const reshaper = ;reshaperPersianShaper // will reshape each charactor based on their position using Persian positionsreshaperArabicShaper // will reshape each charactor based on their position using Arabic positions
Special thanks to @alex-clay to add support for arabic charactors!(I don't know it's missing)
alex's fork:Changes in
- added charset.arabic.txt asset for soimy/msdf-bmfont-xml. This includes characters in Arabic that are not in Persian and it could be merged with charset.persian.txt safely.
- renamed index.js to PersianShaper.js