| Microsoft Typography | Developer information | Specifications | OpenType font development | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Tamil OpenType Specification | Terms | Shaping | Features | Other | Appendix | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
The features listed below have been defined to create the basic forms for the languages that are supported on Tamil systems. Regardless of the model an application chooses for supporting layout of complex scripts, Uniscribe requires a fixed order for executing features within a run of text to consistently obtain the proper basic form. This is achieved by calling features one-by-one in the standard order listed below. The order of the lookups within each feature is also very important. For more information on lookups and defining features in OpenType fonts, see Encoding feature information in the OpenType font development section. The standard order for applying Tamil features encoded in OpenType fonts:
Feature Tag: "akhn" This feature creates an akhand ligature glyph from two consonants in nominal forms separated by a halant: Cf + H + Cf -> Af The input context for the akhand feature always consists of the full form of the consonant. Example of the Akhand feature applied:
Feature Tag: "half" Applying this feature gives us half forms; forms of consonants used in the pre-base position. Half forms must exist for all consonants in the font, as well as half forms of Akhand consonants. Use the halant form for consonants that do not have distinct shapes for half forms. Kf + H -> Kh This feature is not applied to the base glyph even if the syllable ends with a halant. "Half form of Consonant" feature applied (shaded box)
Feature Tag: "pres", "abvs", "blws", "psts" All previous features have dealt with language features only, dedicated to forming glyph shapes dictated by the languages. The remaining shaping features cover optional features. These optional features range from those that will exist in every font to rare typographical ornaments. It is important to stress that all features operate only within one orthographic syllable. Since the language features do not limit typographical processing , Uniscribe passes the entire syllable to the OTL Services library. Uniscribe does not strictly specify the format of lookup tables to use or their inputs, allowing for context-dependent processing of any of the conjuncts and forms below.
The OTL Services library processes the syllable "left to right", executing lookups in the order that they are specified in the font. First, pre-base substitutions will be handled, then below-base, above-base and then post-base substitutions. Therefore a font developer should first take care of all ligatures to the left of the base glyph and then working to the right, substite below-bases, above-bases and then finally post-base elements. The lookups in the font should be ordered in the same way. With every new element and feature, the following operations should be considered, as appropriate, in this order:
At every feature step, one should take into account all ligatures and forms that were produced by previous steps. In general, at this point the syllable being shaped will have one of the following forms:
Feature Tag: "pres" Pre-base consonant conjuncts This feature produces conjuncts with half forms. The examples below are common but you may define lookups for other forms as well. {Kh} + Kf -> Lf {Kh} + Lf -> Lf If forms of pre-base consonants need to be changed (e.g. changing a half form to a halant form in a certain context) it is handled with this feature as well. Pre-base Matra ligatures This feature produces the correct shape of I-Matra and also may take care of pre-base matra ligatures like the Tamil 'elephant trunk' shape of AI-Matra. For example, Mpre + {Kh} + Kf -> correct form of Mpre or a ligature Mpre + {Kh} + Lf -> correct form of Mpre or a ligature The "pres" feature applied to create Pre-base Matra ligatures:
Feature Tag: "abvs" Above-base Matra ligatures The "abvs" feature produces the correct typographic shape when an above-base matra forms a ligature with the base glyph. The "abvs" feature to create Above-base Matra ligatures:
This feature can also be used to produce ligatures and forms involving above-base vowel modifiers. Above-base stress and tone marks This feaure can also be used to produce the correct form of stress and tone mark signs above the base glyph.
Feature Tag: "blws" Below-base consonant conjuncts This feature produces conjuncts of the base glyph with below-base consonants. For example, Kf + {Ks} -> Lf Specific context-dependent forms or below-base consonants are handled by this lookup as well. Below-base Matra ligatures This feature produces matra ligatures with the base consonants. For example, Kf + Msub -> Ligature Lf + Msub -> Ligature In the presence of below-base consonants, the below-base matra can be used for a ligature with them or change shape as well. The "blws" feature applied to create a below-base Matra ligature:
Note: This can also be done using the 'psts' feature. However, some consonants like Tamil-Nga do not display a post base visible change when they combine with Matra-U.
This feature can also be used to produce the correct form of stress and tone mark signs.
Feature Tag: "psts" Post-base consonant conjuncts This feature produces ligatures of the base glyph with post-base forms of consonants. Post-base Matra ligatures This feature produces the correct typographic shape when a post-base matra forms a ligature with the base glyph.
The example below uses the Tamil script.
Post-base vowel modifiers This feature can also be used to substitute contextually, different forms of post-base vowel modifiers.
Feature Tag: "haln" This feature produces the halant form of the base glyph in syllables ending with a halant. Kf + H -> Khalant Lf + H -> Lhalant Halant forms can also be created by positioning the halant as a below-base mark on the base glyph. This feature is applied only on the base glyph and the following halant. Please see the section on 'half' forms above for a sample illustration.
Feature Tag: "abvm" This feature positions all above-base marks on the base glyph or the post-base matra. The best method for encoding this feature in an OpenType font is to use a chaining context positioning lookup that triggers mark-to-base and mark-to-mark attachments for below-base marks. "Above-base marks" feature applied:
Feature Tag: "blwm" This feature positions all below-base marks on the base glyph. The best method for encoding this feature in an OpenType font is to use a chaining context positioning lookup that triggers mark-to-base and mark-to-mark attachments for below-base marks.
Feature Tag: "dist" This feature covers all other positioning lookups defining various distances between glyphs, such as kerning between pre- and post-base elements (like Visarga) and the base glyph.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Tamil OpenType Specification | Terms | Shaping | Features | Other | Appendix | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Microsoft Typography | Developer information | Specifications | OpenType font development | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||