|
|
NRSI: Computers & Writing Systems You are here: Rendering > Principles Examples of Complex Rendering
Many writing systems around the world have complex rules governing the way the elements of the script are written. These kinds of writing systems require smart font technology to be rendered properly on the computer. Examples of smart font technologies include Graphite, Diacritic Placement Diacritic PlacementDiacritics often require smart positioning. Notice that in the example below, the red grave accent must be positioned higher when there is an intervening diacritic such as a tilde, in contrast to when it appears directly over the base character. Similarly, the tilde must be positioned differently over the narrow "i" than the wider "e", and must be adjusted vertically when it is placed above an uppercase letter.
Many non-Roman scripts, such as Thai, also have stacking diacritics.
Below is an example of a diacritic in Arabic script. The varying sizes of the base letters require smart placement of the diacritic.
Contextual ShapingIn many writing systems the exact shape of the letter depends on the neighboring characters or its position within the word. In Greek, the sigma takes an alternate form at the end of the word. (Note: in Unicode and most other encodings, the Greek word-final sigma is encoded as a distinct character, so a smart font is not required to show this behavior.)
Arabic script uses extensive contextual shaping to produce its cursive form. The figure below shows four forms of the letters "beh" and "meem". Typically there is a word-initial (red), word-medial (green), word-final (blue), and isolate (black) form of each character.
The figure below shows a letter in Burmese (red) whose shape is dependent on the preceding consonant around which it must wrap:
Here is an example of both contextual shaping and positioning in Burmese script. When the red character is added, the tail of the base character must be removed. To add the blue character, the preceding (red) letter must be moved to the left to make room for it.
LigaturesIt is common in many scripts for multiple characters to combine into a single shape. Below is an example of the "lam-alef" ligature in Arabic script (note that the figure is read from right to left!):
In Tamil script, the short and long "u" vowels form ligatures with the preceding consonant.
Here is another ligature typical of Indic scripts, involving a viramacized consonant followed by a second consonant. In the figure, the Tamil virama is written as a dot above the first consonant (but notice that the virama is not shown in the ligated form).
In IPA, a sequence of tone letters combine to form a single tone contour symbol.
Reordering and SplittingIt is common in Indic scripts for consonants and the vowels that follow them to form clusters, with the vowels being written in specific positions relative to the consonant. Below we see such behavior in Bengali, where the red items indicate vowels. In the first example, the vowel is displayed to the right of the preceding consonant (as expected), and in the second, the vowel is displayed to the left. In the third item, the vowel is split into two forms, one of which is written to the left and the other to the right.
BidirectionalitySemitic scripts such as Arabic and Hebrew are written from right to left. Numerals, however, are written from left to right.
Note: the opinions expressed in submitted contributions below do not necessarily reflect the opinions of our website. © 2003-2009 SIL International, all rights reserved, unless otherwise noted elsewhere on this page. |