I am using 'freestyle script' font to style my site heading and Georgia as the fallback font. I have downloaded the 'freestyle' webfontkit from squirrel and I am using @font-face to render the heading style. Everything is fine for browsers which support @font-face but for those which do not support @font-face like the default browser of older Android versions, I am facing a problem.
The problem is that with freestyle Script I want to keep the
h1
{
font-size:25px;
font-style:normal;
}
but with my fallback font ( Georgia ) I want to keep
h1
{
font-size:18px;
font-style:italic;
}
One solution I found on net was to use modernizr...http://webdesignerwall.com/tutorials/css3-font-face-design-guide but I am in search of a simpler and no-js solution as my site is already using a lot of js before page load and is getting a bit slow to load due to that
I found a similar question on SO..Selectively Style Fallback Fonts Without JavaScript? but there was'nt any clear answer except for the modernizr solution...
It would be great help if someone could give some solution to this problem.
... Thanks in advance