If you set text-rendering to optimizeLegibility, you tell the browser to emphasize legibility over rendering speed, which will likely enable ligatures.
On the contrary, the optimizeSpeed value will tell the browser to focus on rendering speed and not to use ligatures.
ALT An example of text rendered by browser in different modes with highlighted ligatures