CATEGORY-TABLE ::= '(' 'category' CATEGORY-SPEC + ')'
CATEGORY-SPEC ::= '(' CODE CATEGORY ')'
- | '(' CODE CODE CATEGORY ')'
+ | '(' CODE CODE CATEGORY ')'
CODE ::= INTEGER
GENERATOR ::= '(' 'generator' RULE MACRO-DEF * ')'
RULE ::= REGEXP-BLOCK | MATCH-BLOCK | SUBST-BLOCK | COND-BLOCK
- | DIRECT-CODE | COMBINING-SPEC | OTF-SPEC
- | PREDEFINED-RULE | MACRO-NAME
+ | DIRECT-CODE | COMBINING-SPEC | OTF-SPEC
+ | PREDEFINED-RULE | MACRO-NAME
MACOR-DEF ::= '(' MACRO-NAME RULE + ')'
@endverbatim
MATCH-INDEX ::= INTEGER
@endverbatim
-MATCH-INDEX is an integer specifying a parenthesized subexpression
-recoded by the previous @c REGEXP-BLOCK. If such a subexpression was
+@c MATCH-INDEX is an integer specifying a parenthesized subexpression
+recorded by the previous @c REGEXP-BLOCK. If such a subexpression was
found by the previous regular expression matching, this rule executes @c
RULEs temporarily limiting the current run to the matched part
of the subexpression. The matched part is consumed by this rule.
it matches the whole current run.
@verbatim
-SUBST-BLOCK ::= '(' SOURCE-PATTERN RULE * ')'
+SUBST-BLOCK ::= '(' SOURCE-PATTERN RULE * ')'
SOURCE-PATTERN ::= '(' CODE + ')'
- | (' 'range' CODE CODE ')'
+ | (' 'range' CODE CODE ')'
@endverbatim
If the sequence of codes of the current run matches @c SOURCE-PATTERN,
The second form specifies a range of codes that should match the first
glyph code of the code sequence. In this case, this rule sets the
-default code-offset to the first glyph code minus the first @c CODE in @c
-SOURCE-RANGE.
+default code-offset to the first glyph code minus the first @c CODE
+specifying the range.
+
If no match is found, this rule fails.
LANGSYS is omitted, the Default Language System
table is used.
-For @c GSUB-FEATURES, each @c SYMBOL specifies a GSUB Feature tag name
+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
@c OFFSET specifies the way of alignment in detail. If it is '.', the
reference points are on the same position.
-@c XOFF specifies how much the X position of the next reference point
-should be shifted to the right ('<') or left ('>') from the previous
-reference point.
+@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 previous reference point.
-@c YOFF specifies how much the Y position of the next reference point
-should be shifted upward ('+') or downward ('-') from the previous reference
-point.
+@c YOFF specifies how much the Y position of the reference point the
+next glyphshould be shifted upward ('+') or downward ('-') from the
+previous reference point.
In both cases, @c INTEGER is the amount of shift expressed as a
percentage of the font size, i.e., if @c INTEGER is 10, it means
requires font F0.
@verbatim
- sequence S0 S1
- currently used font F0 F1
- usable font(s) F0 F1
+ sequence S0 S1
+ currently used font F0 F1
+ usable font(s) F0 F1
@endverbatim
Sometimes, however, a clear separation of sequences is not possible.
but also with F1.
@verbatim
- sequence S0 S1
- currently used font F0 F1
- usable font(s) F0,F1 F1
+ sequence S0 S1
+ currently used font F0 F1
+ usable font(s) F0,F1 F1
@endverbatim
In this case, glyphs used to draw the preceding S0 may affect glyph