Turn on Common Ligatures and Kerning #21623

Open
RehanSaeed opened this Issue Jan 9, 2017 · 2 comments

Projects

None yet

2 participants

@RehanSaeed

Feature request to turn on Common Ligatures and Kerning where open type fonts support the feature. This article describes both features in more detail.

body {
    font-kerning: normal;
    font-variant-ligatures: common-ligatures;
}

Am willing to submit a PR if suggestion is welcomed.

@bardiharborow
Member

Browsers already do a fairly good job of this. The defaults for these two properties are:

  • font-kerning: auto; which defers to the browser regarding whether to use kerning. When the font size is small, font kerning may look strange and browsers will disable it.
  • font-variant-ligatures: normal; which activates common-ligatures and contextual already.
@RehanSaeed

@bardiharborow Very intersting. A lot of blog posts will lead you to believe the opposite. Is that true of all browsers or just Firefox as indicated by your links?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment