@verbatim
FONT-LAYOUT-TABLE ::= FLT-DECLARATION ? STAGE0 STAGE *
-FLT-DECLARATION ::= '(' 'font' 'layouter' NAME nil PROP * ')'
-NAME ::= SYMBOL
+FLT-DECLARATION ::= '(' 'font' 'layouter' FLT-NAME nil PROP * ')'
+FLT-NAME ::= SYMBOL
PROP :: = VERSION | FONT
VERSION ::= '(' 'version' MTEXT ')'
FONT ::= '(' 'font' FONT-SPEC ')'
... 'Z', 'a', .. 'z'.
The first form of @c CATEGORY-SPEC assigns @c CATEGORY to a glyph
-whose code @c CODE. The second form assigns @c CATEGORY to glyphs
+whose code is @c CODE. The second form assigns @c CATEGORY to glyphs
whose code falls between the two @c CODEs.
@verbatim
This rule sequentially executes @c RULEs until one succeeds. If no
rule succeeds, this rule fails. Otherwise, it succeeds.
+@anchor OTF-SPEC
@verbatim
OTF-SPEC ::= SYMBOL
@endverbatim
driver. The name has the following syntax.
@verbatim
- OTF-SPEC-NAME ::= ':otf' SCRIPT LANGSYS ? GSUB-FEATURES ? GPOS-FEATURES ?
+ OTF-SPEC-NAME ::= ':otf=' SCRIPT LANGSYS ? GSUB-FEATURES ? GPOS-FEATURES ?
SCRIPT ::= SYMBOL
LANGSYS is omitted, the Default Language System
table is used.
-For @c GSUB-FEATURES, each @c SYMBOL in @c FEATURE LIST specifies a
-GSUB Feature tag name to apply. '*' is allowed as the last item to
+For @c GSUB-FEATURES, each @c SYMBOL in @c FEATURE-LIST specifies
+a GSUB Feature tag name to apply. '*' is allowed as the last item to
specify all remaining features. If @c SYMBOL is preceded by '~' and
the last item is '*', @c SYMBOL is excluded from the features to
apply. If no @c SYMBOL is specified, no GSUB feature is applied. If
@c GSUB-FEATURES itself is omitted, all GSUB features are applied.
+When @c OTF-SPEC appears in a @c FONT-SPEC, @c FEATURE-LIST specifies
+features that the font must have (or must not have if preceded by
+'~'), and the last'*', even if exists, has no meaning.
+
The specification of @c GPOS-FEATURES is analogous to that of @c
GSUB-FEATURES.
The left figure shows 12 reference points of a glyph by numbers 0 to
11. The rectangle 0-6-8-2 is the bounding box of the glyph, the
-positions 3, 4, and 5 are on the baseline, 9 and 11 are on the center
-of the lines 0-6 and 2-8 respectively, 1, 10, 4, and 7 are on the
-center of the lines 1-2, 3-5, 9-11, and 6-8 respectively.
+positions 3, 4, and 5 are on the baseline, 9-11 are on the vertical
+center of the box, 0-2 and 6-8 are on the top and on the bottom
+respectively. 1, 10, 4, and 7 are on the horizontal center of the
+box.
The right table shows how those reference points are specified by a
pair of @c VPOS and @c HPOS.
reference points are on the same position.
@c XOFF specifies how much the X position of the reference point of
-the next glyph should be shifted to the right ('<') or left ('>') from
+the next glyph should be shifted to the left ('<') or right ('>') from
the previous reference point.
@c YOFF specifies how much the Y position of the reference point the
@endverbatim
@c MACRO-NAME is a symbol that appears in one of @c MACRO-DEF. It is
-exapanded to the sequence of the correponding @c RULEs.
+exapanded to the sequence of the corresponding @c RULEs.
@section flt-context-dependent CONTEXT DEPENDENT BEHAVIOR