1# OpenType Feature File specification, section 5.d, example 1. 2# http://www.adobe.com/devnet/opentype/afdko/topic_feature_file_syntax.html 3 4feature F1 { 5 sub [one one.oldstyle] [slash fraction] [two two.oldstyle] by onehalf; 6} F1; 7 8# Since the OpenType specification does not allow ligature substitutions 9# to be specified on target sequences that contain glyph classes, the 10# implementation software will enumerate all specific glyph sequences 11# if glyph classes are detected in <glyph sequence>. Thus, the above 12# example produces an identical representation in the font as if all 13# the sequences were manually enumerated by the font editor: 14feature F2 { 15 sub one slash two by onehalf; 16 sub one.oldstyle slash two by onehalf; 17 sub one fraction two by onehalf; 18 sub one.oldstyle fraction two by onehalf; 19 sub one slash two.oldstyle by onehalf; 20 sub one.oldstyle slash two.oldstyle by onehalf; 21 sub one fraction two.oldstyle by onehalf; 22 sub one.oldstyle fraction two.oldstyle by onehalf; 23} F2; 24