I really found some of the documentation about this, a bit unclear and what led to the break.
The important idea here is to properly configure the element with the font. Here's a revised declaration for .nav that works correctly (using a prefix to add the appropriate prefix) ...
(Note that I have moved the font directory to the stylesheets directory for easier paths)
@font-face { font-family: 'Live-Share-UI'; src: url("fonts/Live-Share-UI.eot"); src: url("fonts/Live-Share-UI.eot?#iefix") format("embedded-opentype"), url("fonts/Live-Share-UI.woff") format("woff"), url("fonts/Live-Share-UI.ttf") format("truetype"), url("fonts/Live-Share-UI.svg#Live-Share-UI") format("svg"); font-weight: normal; font-style: normal; }
In addition, a little more descriptive work is added to the face of the font to make it more compact, this is taken directly from icomoon.
.nav, .header { font-family: Live-Share-UI; font-feature-settings: "liga","dlig"; text-rendering: optimizeLegibility; font-style: normal; font-weight: normal; font-variant: normal; text-transform: none; line-height: 1; font-smoothing: antialiased; position: fixed; text-align: center; z-index: 50; margin: auto auto 1em auto; top: 0; bottom: 0; left: 0; right: 0; height: 1.5em; }
As a final note, I actually do this in SASS and using this source code:
@mixin ui () { font-family: Live-Share-UI; font-feature-settings:"liga","dlig"; text-rendering:optimizeLegibility; font-style: normal; font-weight: normal; font-variant: normal; text-transform: none; line-height: 1; -webkit-font-smoothing: antialiased; } .nav, .header{ @include ui(); position: fixed; text-align: center; z-index: 50; top: 0; bottom: 0; left: 0; margin: auto auto 1em auto; right: 0; height: 1.5em; }
So, in short: Apply dlig 1 to the element, not the face of the font.
source share