If a zero value appears in a SinglePos statement, feaLib continues to produce ValueRecords of format 0. But if a zero value appears in a PairPos statement inside a horizontal compilation context, feaLib now produces ValueRecords of format 4. Likewise, if a zero value appears in a PairPos statement inside a vertical compilation context, feaLib now produces ValueRecords of format 8. The OpenType Feature Syntax specification is completely silent about this, but the new behavior matches that of makeotf. https://github.com/fonttools/fonttools/issues/633
10 lines
285 B
Plaintext
10 lines
285 B
Plaintext
# For PairPos statements in vertical compilation contexts,
|
|
# zero values should get compiled to ValueRecord format 8.
|
|
# https://github.com/fonttools/fonttools/issues/633
|
|
feature vkrn {
|
|
pos A 0 A 0;
|
|
pos A 0 B <0 0 0 0>;
|
|
pos B <0 0 0 0> A 0;
|
|
pos B <0 0 0 0> B <0 0 0 0>;
|
|
} vkrn;
|