Home › Forums › JavaScript › @font-face problem › Re: @font-face problem
July 29, 2011 at 8:40 am
#84215
KarimCossutti
Member
Ok i’ll try to make it as easy as possible (my english is not brilliant as it should).
On your styleseet you are importing 4 different fonts right now
what you are trying to do is import 4 variants of the same font, to do this you have to change the values of the font-weight and font-size on your @font-face
Here an example
@font-face {
font-family: 'FlorinSans';
/** cutted out the urls to shorten **/
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'FlorinSans'; /** Note that i'm using the same name for the bold **/
/** cutted out the urls to shorten **/
font-weight: bold; /** change this to the corrispective font weight **/
font-style: normal; /** change this to the current font style **/
}
Hope it helps