Before this change, we had only emitted a SinglePos (GPOS type 1) lookup for a statement like `pos A' B' 20`; after this change, we always emit a chain rule even if there is no context. There is a semantic difference if the rule is preceded by a `ignore pos` statement. Omitting context-free contextual chains was actually not a (premature) optimization, but an artifact that came from the representation of glyph patterns. https://github.com/behdad/fonttools/issues/516
8 lines
276 B
Plaintext
8 lines
276 B
Plaintext
# OpenType Feature File specification, section 6.h.iii, example 3d:
|
|
# Specifying Contextual Positioning with in-line single positioning rules
|
|
# http://www.adobe.com/devnet/opentype/afdko/topic_feature_file_syntax.html
|
|
|
|
feature test {
|
|
position L' quoteright' -150;
|
|
} test;
|