writing system in which letters vary their shapes depending on whether they are initial, medial, final, or isolated