Last post Feb 24, 2012 03:36 PM by kraznodar
Feb 23, 2012 04:15 PM|kraznodar|LINK
I'm doing the standard custom font CSS with a font converted by FontSquirrel. My CSS looks like this:
src: url('/Fonts/Child.eot?iefix') format('embedded-opentype'),
And the html looks like this:
<p><span class="ChildFont" style="color:#94070a; font-size:20px;">Lineworker up!</span></p>
When I run in debug mode on localhost it all works. When I publish to the server it fails. I've done this before with a different font and it works. Any ideas of what I should check or try?
Feb 23, 2012 04:38 PM|raju dasa|LINK
R u sure, fonts are downloading from the remote server when accessed through browser?
check the used relative path to fonts is correct!
check this site:
Feb 24, 2012 03:36 PM|kraznodar|LINK
The problem turned out to be that the font files were not publishing with the project even though they were included in the project and were marked "copy to output". Manually copying the font files solved the problem.