...

View Full Version : Font-face problem in FireFox



sonic656
11-21-2012, 07:15 PM
FONTS.CSS:

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

}
@font-face {
font-family: 'HelveticaNeueThin';
src: url('../fonts/HelveticaNeueCE-Thin.eot');
src: url('../fonts/HelveticaNeueCE-Thin.eot?#iefix') format('embedded-opentype'),
url('../fonts/HelveticaNeueCE-Thin.woff') format('woff'),
url('../fonts/HelveticaNeueCE-Thin.ttf') format('truetype'),
url('../fonts/HelveticaNeueCE-Thin.svg') format('svg');
font-weight: normal;
font-style: normal;

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

}

Output in Error Console:


Timestamp: 11/21/2012 8:14:35 PM
Warning: downloadable font: no supported format found (font-family: "HelveticaNeueMedium" style:normal weight:normal stretch:normal src index:4)
source: (end of source list)
Source File: fonts.css
Line: 0
Source Code:
@font-face { font-family: "HelveticaNeueMedium"; font-style: normal; font-weight: normal; src: url("../fonts/HelveticaNeueMedium.eot?#iefix") format("embedded-opentype"), url("../fonts/HelveticaNeueMedium.woff") format("woff"), url("../fonts/HelveticaNeueMedium.ttf") format("truetype"), url("../fonts/HelveticaNeueMedium.svg") format("svg"); }


What I'm doing wrong? :/ Thx in advance!




EDIT: FIXED THE PROBLEM!

LearningCoder
11-21-2012, 08:32 PM
Just out of curiosity what was the issue?

Was it your extra font declarations or files weren't found or?

Regards,

Lc.

VIPStephan
11-22-2012, 01:33 AM
Besides that I’m pretty sure you aren’t allowed to include Helvetica Neue with CSS unless you have a license (which I hope you have but assume you haven’t because many people just do it without caring). That font is sold for money (http://www.linotype.com/en/1266/NeueHelvetica-family.html) by Linotype so it’s most likely not OK to include it just because you have it on your computer. Same goes for Futura.

Just saying.

LearningCoder
11-22-2012, 02:17 AM
That format is the exact same format which Font-Squirrel uses. When you try to convert a licenced font, it usually won't let you.

I wonder if that was the problem ^

Regards,

LC.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum