* First round of adding fea output No format tests but all test files give reasonable output so far. * Get existing tests working * Initial tests that work for fea2fea * Get more tests working Bug fixes and re-layout some tests to compare with fea2fea output. Ranges and name parameters are not optimised yet. * Handle vertical default values in fea2fea * Hide fea2fea differences in lookupflags * No reduce() in py3 so use a for loop
16 lines
693 B
Plaintext
16 lines
693 B
Plaintext
# OpenType Feature File specification, section 6.d, example 1:
|
|
# [GPOS LookupType 4] Mark-to-Base attachment positioning
|
|
# http://www.adobe.com/devnet/opentype/afdko/topic_feature_file_syntax.html
|
|
|
|
languagesystem DFLT dflt;
|
|
|
|
markClass [acute grave] <anchor 150 -10> @TOP_MARKS;
|
|
markClass [dieresis umlaut] <anchor 300 -10> @TOP_MARKS;
|
|
markClass [cedilla] <anchor 300 600> @BOTTOM_MARKS;
|
|
|
|
feature test {
|
|
pos base [e o] <anchor 250 450> mark @TOP_MARKS <anchor 250 -12> mark @BOTTOM_MARKS;
|
|
#test-fea2fea: pos base [a u] <anchor 265 450> mark @TOP_MARKS <anchor 250 -10> mark @BOTTOM_MARKS;
|
|
position base [a u] <anchor 265 450> mark @TOP_MARKS <anchor 250-10> mark @BOTTOM_MARKS;
|
|
} test;
|