Mobile app version of vmapp.org
Login or Join
Berryessa370

: Custom font not displaying properly 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

@Berryessa370

Posted in: #Css #Fonts

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

Thanks

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Berryessa370

1 Comments

Sorted by latest first Latest Oldest Best

 

@Harper822

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.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme