FONT-SPEC ::=
'(' [ FOUNDRY FAMILY
[ WEIGHT [ STYLE [ STRETCH [ ADSTYLE ]]]]]
- REGISTRY ')'
+ REGISTRY
+ [ OTF-SPEC ] [ LANG-SPEC ] ')'
@endverbatim
@c SCRIPT is a symbol of script name (e.g. latin, han) or @c nil. @c
REGISTRY are symbols corresponding to #Mfoundry to #Mregistry property
of a font. See @ref m17nFont for the meaning of each property.
+@c OTF-SPEC is a symbol specifing the required OTF features. The
+symbol name has the following syntax.
+
+@verbatim
+ OTF-SPEC-NAME ::= ':otf=' SCRIPT LANGSYS ? GSUB-FEATURES ? GPOS-FEATURES ?
+
+ SCRIPT ::= SYMBOL
+ LANGSYS ::= '/' SYMBOL
+
+ GSUB-FEATURES ::= '=' FEATURE-LIST ?
+
+ GPOS-FEATURES ::= '+' FEATURE-LIST ?
+
+ FEATURE-LIST ::= '~' ? FEATURE ( ',' '~' ? FEATURE ',' )
+
+@endverbatim
+
+Here, @c FEATURE is a four-letter Open Type feature.
+
+@c LANG-SPEC is a symbol specifying the required language support.
+The symbol name has the following syntax.
+
+@verbatim
+ LANG-SPEC-NAME ::= ':lang=' LANG
+@endverbatim
+
+Here, @c LANG is a two or three-letter ISO-639 language code.
+
@c FLT-NAME is a name of Font Layout Table (@ref mdbFLT).
@section fontset-example EXAMPLE
It instructs the font selector to use a font of registry
"jisx0208.1983-0" for a "han" character (i.e. a character whose
#Mscript property is 'han') if the character has #Mlanguage text
-propert "ja" in an M-text and the character is in the repertories of
+property "ja" in an M-text and the character is in the repertories of
such fonts. Otherwise, try a font of registry "gb2312.1980-0" or
"big5-0". If that "han" character does not have #Mlanguage text
property, try all three fonts.
You should have received a copy of the GNU Lesser General Public
License along with the m17n library; if not, write to the Free
-Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-02111-1307, USA.
+Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+Boston, MA 02110-1301, USA.
*/