File: spec5d2.fea

package info (click to toggle)
fonttools 4.61.1-7~exp1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 27,580 kB
  • sloc: python: 145,091; xml: 103; makefile: 24
file content (22 lines) | stat: -rw-r--r-- 601 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# OpenType Feature File specification, section 5.d, example 2.
# http://www.adobe.com/devnet/opentype/afdko/topic_feature_file_syntax.html

# A contiguous set of ligature rules does not need to be ordered in
# any particular way by the font editor; the implementation software
# must do the appropriate sorting.

# So:
feature F1 {
    sub f f by f_f;
    sub f i by f_i;
    sub f f i by f_f_i;
    sub o f f i by o_f_f_i;
} F1;

# will produce an identical representation in the font as:
feature F2 {
    sub o f f i by o_f_f_i;
    sub f f i by f_f_i;
    sub f f by f_f;
    sub f i by f_i;
} F2;