User Guide
FontLab 4
642
Script and Language
Occasionally you may need to specify a feature whose lookups vary across
the language systems of the feature, or whose language systems vary from
the set of language systems of the rest of the features in the file (specified
by the "languagesystem" statements).
In these cases, the "script" and "language" statements should be used
within the feature block itself. (A "script" and/or "language" statement
must be present before the first rule in the feature in order to indicate to
the feature file parser that this feature is not to be registered under the
language systems specified by the "languagesystem" statements).
The feature's lookups will be registered under the script and language
attributes current at the definition of the lookup. The attributes may be
changed as follows:
"script" statement:
script <script tag>;
For example:
script kana;
When a "script" statement is seen, the language attribute is implicitly set to
'DFLT', and the lookupflag attribute is implicitly set to 0. The script
attribute stays the same until explicitly changed by another "script"
statement or until the end of the feature.