I have an HTML document which I have been printing to PDF. The document includes words like configure which has fi which turns into a ligature when saved to PDF. If I’m just reading the PDF document on the screen, it will appear to look fine. However, the problem arises when I copy the text and discover the ligature when I paste the text into other places.

Character sequences you may run into this problem with include: ff, fi, fl, ffi, and ffl.

To resolve this I can add a style to my stylesheet.

1
2
3
* {
font-variant-ligatures: none;
}