User Guide

Making OpenType Fonts
643
"language" statement:
The language attribute stays the same until explicitly changed, until the
script is changed, or until the end of the feature. To change the language
attribute, use the "language" statement:
language <language tag> [excludeDFLT|includeDFLT] [required];
The script and lookupflag attributes stay the same as before. (If no "script"
assignment statement has been seen thus far in the feature block, then the
script attribute is set to 'latn', but it is recommended that an explicit
"script" statement be used in such cases for clarity.)
Here is an example statement:
language DEU;
As a result of this statement, (a) the language attribute is changed to 'DEU
', and (b) the 'DFLT' lookups of the current script are automatically
included into the language system specified by the current script and
language attributes. If (b) is not desired, as may occasionally be the case,
then the keyword "excludeDFLT" must follow the language tag. For
example:
language DEU excludeDFLT;
The keyword "includeDFLT" may be used to explicitly indicate the default
'DFLT' lookup-inheriting behavior. For example:
language DEU includeDFLT; # Same as: language DEU;