The Arabic-Urdu-Farsi family of languages is used by over 300 million people. Unlike letters of the Roman alphabet, each Arabic character can assume different shapes which leads to a more compact representation of linguistic information, but which also causes increased difficulties in printing. In previous work IHyder, 1971], a grammatical model was developed which determines the appropriate sh...