| 1 |
# OpenType feature file to suppress the "rare" f_t.alt |
| 2 |
# ligature provided by the font "Garamond Premier Pro". |
| 3 |
# This feature file is employed by selnolig.tex, the |
| 4 |
# user guide for the 'selnolig' package. |
| 5 |
# Created by Mico Loretan, January 2013, based on |
| 6 |
# important (crucial!) help provided by Khaled Hosny |
| 7 |
# (see http://tex.stackexchange.com/q/89963/5001). |
| 8 |
|
| 9 |
# Scripts and languages |
| 10 |
# If the font uses others, they should be defined here too |
| 11 |
languagesystem DFLT dflt; |
| 12 |
languagesystem latn dflt; |
| 13 |
|
| 14 |
# Undo the "f_t.alt" discretionary ligature |
| 15 |
feature dlig { |
| 16 |
sub f_t.alt by f t; |
| 17 |
} dlig; |
| 18 |
|
| 19 |
# Apply the regular ligatures for ft and fft |
| 20 |
feature liga { |
| 21 |
sub f f t by f_f_t; |
| 22 |
sub f t by f_t; |
| 23 |
} liga; |