Using the following allows the font to be downloaded by clients that do not have that particular font installed on there machine. Thus allowing be to have design consistency.
This works perfectly in a page outside Umbraco, and I was wondering is there anything that could be obstructing this from working as should w/in Umbraco.
@font-face doesn't appear to be working in Umbraco
UMB 4.5.1 | WIN SVR 2008 STD
Using the following allows the font to be downloaded by clients that do not have that particular font installed on there machine. Thus allowing be to have design consistency.
This works perfectly in a page outside Umbraco, and I was wondering is there anything that could be obstructing this from working as should w/in Umbraco.
/*myStyle.css*/
@font-face {
font-family: trajan pro;
src: url(TrajanPro-Regular.otf) format("opentype");
}
body p
{
font-family: "trajan pro";
}
I can't see how Umbraco should mess with the @font-face functionality. Where is your "TrajanPro-Regular.otf"-file placed in your Umbraco installation?
Have you placed it in the same folder as your myStyle.css-file or somewhere else?
/Kim A
must of posted this twice somehow but this has all ready been solved: it was a mime issue for me: http://our.umbraco.org/forum/using/ui-questions/11919--@font-face-doesn%27t-appear-to-be-working-in-Umbraco
is working on a reply...