summaryrefslogtreecommitdiff
path: root/macros/luatex/latex/selnolig/gpp-ft.fea
blob: d7422ed83cdb1a77980bc0c2d49ebf855459383f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# OpenType feature file to suppress the "rare" f_t.alt 
# ligature provided by the font "Garamond Premier Pro". 
# This feature file is employed by selnolig.tex, the 
# user guide for the 'selnolig' package.
# Created by Mico Loretan, January 2013, based on
# important (crucial!) help provided by Khaled Hosny
# (see http://tex.stackexchange.com/q/89963/5001).

# Scripts and languages 
# If the font uses others, they should be defined here too
languagesystem DFLT dflt;
languagesystem latn dflt;

# Undo the "f_t.alt" discretionary ligature
feature dlig {
  sub f_t.alt by f t;
} dlig;

# Apply the regular ligatures for ft and fft
feature liga {
  sub f f t by f_f_t;
  sub f t by f_t;
} liga;