I have a number of fonts which fall under the same font family name. I need to generate the @font-face for these fonts
Family Name: Test Pro
Font Name: TestPro-Cond
Font Name: TestPro-CondIt
Font Name: TestPro-It
I understand I can create a @font-face with whatever name I want and reference the font files. However I would like to follow the correct web standard. What I am unsure about is how to handle these 'condensed' fonts. Does anyone have experience with this?
Currently I have
@font-face {
font-family: "Test Pro Bold Condensed Italic";
src: url('./fonts/TestPro-BoldCondIt.otf');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: "Test Pro Bold Italic";
src: url('./fonts/TestPro-BoldIt.otf');
font-weight: normal;
font-style: normal;
}