If a variable scalar does not vary (i.e. all values are the same), we can simplify it and use a simple value instead. Arguably users shouldn’t be using variable scalar in this case, but it helps when the feature code is auto generated so each feaLib users doesn’t have to do the check done here themselves.
7 lines
202 B
Plaintext
7 lines
202 B
Plaintext
languagesystem DFLT dflt;
|
|
feature kern {
|
|
pos one 1;
|
|
pos two <0 (wght=200:12 wght=900:22 wdth=150,wght=900:42) 0 0>;
|
|
pos three <0 (wght=200:12 wght=900:12 wdth=150,wght=900:12) 0 0>;
|
|
} kern;
|