[Tex/LaTex] Disabling selected ligatures with microtype

ligaturesmicrotype

With a font in T1 encoding, using pdfTeX and the package microtype, I'd like to disable the ligatures for "ff" and "ffi", but keep the ligature for "fi". If I type in the preamble

\DisableLigatures[f]{encoding=T1}

microtype will disable all the ligatures above. How could I keep the ligature for "fi"? I have tried

\DisableLigatures[ff]{encoding=T1}

and

\DisableLigatures[f_f]{encoding=T1} 

but none works (as expected, though).

Best Answer

You can disable only the "triple" ligatures ffl + ffi by using \char"1B in the declaration. But you can't differentiate between fl and fi. If you want to fine tune ligatures you will have to change the tfm files. Did you contact the authors of fourier(x) regarding your other problem?

Related Question