Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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).


share|improve this question

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.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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