I am trying to install a custom font on my site. The browser will load the font, but the display is not quite right. The character vertical positions/sizes seem to be off a tiny amounts. See examples here and here.

Here is my @font-face declaration:

@font-face {
    font-family: 'HelveticaNeueLT45LightRegular';
    src: url('helvetica-webfont.eot');
    src: url('helvetica-webfont.eot?#iefix') format('embedded-opentype'),
         url('helvetica-webfont.woff') format('woff'),
         url('helvetica-webfont.ttf') format('truetype'),
         url('helvetica-webfont.svg#HelveticaNeueLT45LightRegular') format('svg');
    font-weight: normal;
    font-style: normal;

I used the font squirrel generator to generate this (http://www.fontsquirrel.com/fontface/generator).


1 Answer 1


Converting fonts for Web use with automated tools often gives unpredictable results, so it's best to use the official Web font edition of whatever typeface you're interested in direct from the relevant foundry when you can. They often adapt and rehint them to look their best in the browser. Doing it this way also ensures the font is correctly licensed for Web use.

Here's the official Linotype-approved Web font edition of Helvetica Neue 45 from fonts.com.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.