Sascha Brawer f9a236f54e [feaLib] Allow script and language statements in named lookup blocks
Although the specification writes the exact opposite, makeotf does
accept script and language statements inside named lookup blocks.
Since Glyphs.app (and possibly other tools, too) produce feature files
that make use of this syntax, enforcing the spec would break existing
files.

Resolves https://github.com/behdad/fonttools/issues/501.
2016-02-04 09:52:20 +01:00

9 lines
162 B
Plaintext

# https://github.com/behdad/fonttools/issues/501
languagesystem DFLT dflt;
feature test {
lookup L {
script grek;
pos T 100;
} L;
} test;