Text shaping is the concept of combining or separating
characters where possible. The Arabic usage is with ligatures (such as the
LAM, ALEF, and LAM-ALEF characters). For example, in a non-shaped word, both
LAM and ALEF characters would appear separately. In a shaped word, the two
characters would be replaced with a single LAM-ALEF character.Numeric
shaping is the idea that normal regular numerals (0–9)
can be shaped to be Arabic-Indic
Examples
Ù„ = LAM
ïº = ALEF
ۙﻻ = LAM ALEF
Original text |
Resulting text |
abcï»»def
- Input
- Shaped
- Output
- Unshaped
|
abcÙ„ïºdef |
Original text |
Resulting text |
abcÙ„ïºdef
- Input
- Unshaped
- Output
- Shaped
|
abcï»»def |