Before paying for an online svc, I’m experimenting locally with webfont setup & performance.
Atm, I’m interested in building the optimal font stack for a defined webfont.
For local testing, I’ve created a local instance of Helvetica Neue in web-font format.
The @font-face spec I use is:
@font-face {
font-family: 'HelveticaNeue77BoldCondensed';
src: url('/fonts/helveticaneue-boldcond-webfont.eot');
src: local('☺'),
url('/fonts/helveticaneue-boldcond-webfont.woff') format('woff'),
url('/fonts/helveticaneue-boldcond-webfont.ttf') format('truetype'),
url('/fonts/helveticaneue-boldcond-webfont.svg#webfontqSuETJjk') format('svg');
font-weight: bold;
font-style: normal;
}
In my .css,
body {font-family: 'HelveticaNeue77BoldCondensed'}
works as expected, DL’ing the font to the browser for display, as required. Of course, there’s no font-stack for degradation.
Reading a slew of various articles offering their ‘best’ font stacks, each seems to offer a different stack, with different numbers & identities of fonts added for degradation. Putting all the suggestions I’ve found together, addressing the specific naming of various HelveticaNeue instances on various platforms, I end up with:
body { font-family: 'HelveticaNeue77BoldCondensed',
"HelveticaNeueBoldCondensed", "HelveticaNeue-Bold-Condensed", "Helvetica Neue Bold Condensed", "HelveticaNeueBold", "HelveticaNeue-Bold", "Helvetica Neue Bold", "HelveticaNeue", "Helvetica Neue",
"TeXGyreHerosCnBold", "Helvetica", "Tahoma", "Geneva", "Arial Narrow", "Arial",
sans-serif;
}
This seems like vast overkill … too many variations. Any particular harm in that?
Or, what’s the recommended font-stack in this particular case … and what, if any, particular logic is used to arrive at a reasonable set?