Disable auto font-kerning for firefox and ie10?

807 Views Asked by At

How do you disable auto font-kerning for firefox and ie10? I've spent a while trying to search for a solution but all I get are out dated pages and experimental methods.

1

There are 1 best solutions below

2
On

Previously, on Firefox, setting text-rendering: optimizeSpeed in CSS prevented kerning (and ligatures). According to Mozilla documentation, such a setting is now ignored “because the standard code for text rendering is already very fast and there is not a faster code path at this time”.

You can prevent kerning by using a font to which the browser does not apply kerning at all. The documentation is vague, but it seems that Firefox applies kerning to some “C fonts” by Microsoft and to DejaVu fonts.

Another, very clumsy, way is to use ZERO WIDTH NON-JOINER (U+200C) characters between letters, e.g. W‌ally to have “Wally” rendered without kerning the “Wa” pair.