• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# The cvParameters block must precede any of the rules in the feature.
2# The ParamUILabelNameID entry may be omitted or repeated as often as needed.
3# The other NameID types may be omitted, or defined only once.
4# The NameID entries must be specified in the order listed below.
5
6# Following the set of NameID entries, a series of 24-bit Unicode values may be specified.
7# These provide Unicode values for the base glyphs referenced by the feature.
8# The developer may specify none, some, or all of the Unicode values for the base glyphs.
9# The Unicode value may be written with either decimal or hexadecimal notation.
10# The value must be preceded by '0x' if it is a hexadecimal value.
11
12# NOTE: The ParamUILabelNameID entries are used when one base glyph is mapped to more than
13# one variant; the font designer may then specify one ParamUILabelNameID for each variant, in
14# order to uniquely describe that variant. If any ParamUILabelNameID entries are specified,
15# the number of ParamUILabelNameID entries must match the number of variants for each base
16# glyph. If the Character Variant feature specifies more than one base glyph, then the set
17# of NameID entries in the parameter block will be used for each base glyph and its variants.
18feature cv01 {
19	cvParameters {
20		FeatUILabelNameID {
21#test-fea2fea: name "uilabel simple a";
22			name 3 1 0x0409 "uilabel simple a"; # English US
23#test-fea2fea: name 1 "uilabel simple a";
24			name 1 0 0 "uilabel simple a"; # Mac English
25		};
26		FeatUITooltipTextNameID {
27#test-fea2fea: name "tool tip simple a";
28			name 3 1 0x0409 "tool tip simple a"; # English US
29#test-fea2fea: name 1 "tool tip simple a";
30			name 1 0 0 "tool tip simple a"; # Mac English
31		};
32		SampleTextNameID {
33#test-fea2fea: name "sample text simple a";
34			name 3 1 0x0409 "sample text simple a"; # English US
35#test-fea2fea: name 1 "sample text simple a";
36			name 1 0 0 "sample text simple a"; # Mac English
37		};
38		ParamUILabelNameID {
39#test-fea2fea: name "param1 text simple a";
40			name 3 1 0x0409 "param1 text simple a"; # English US
41#test-fea2fea: name 1 "param1 text simple a";
42			name 1 0 0 "param1 text simple a"; # Mac English
43		};
44		ParamUILabelNameID {
45#test-fea2fea: name "param2 text simple a";
46			name 3 1 0x0409 "param2 text simple a"; # English US
47#test-fea2fea: name 1 "param2 text simple a";
48			name 1 0 0 "param2 text simple a"; # Mac English
49		};
50#test-fea2fea: Character 0xa;
51		Character 10;
52#test-fea2fea: Character 0x5dde;
53		Character 0x5DDE;
54	};
55# --- rules for this feature ---
56    sub A by B;
57} cv01;
58