So I was just testing the new CSS3 @font-face and was using a licensed font for the testing (Myriad Pro). Anyway, I couldn't get it to work :/
Something like that. Anyway, I couldn't get it to work! :/ Is there DRM in these licensed fonts? Or is my code wack somewhere? Thanks!
Code:
@font-face {
font-family: Myriad Pro;
src: url('../fonts/mp-regular.otf');
}
@font-face {
font-family: Myriad Pro;
font-style: italic;
src: url('../fonts/mp-italic.otf');
}
@font-face {
font-family: Myriad Pro;
font-weight: bold;
src: url('../fonts/mp-bold.otf');
}
@font-face {
font-family: Myriad Pro;
font-style: italic;
font-weight: bold;
src: url('../fonts/mp-bolditalic.otf');
}
h1 {font-family: Myriad Pro, sans-serif;}
Something like that. Anyway, I couldn't get it to work! :/ Is there DRM in these licensed fonts? Or is my code wack somewhere? Thanks!