Custom font

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Custom font

mlaks
Hi, i am trying to add a custom font to my site, so far i made it, adding this:

@font-face {
        font-family: "BreeThin";
        src: url('http://www.undogo.com/testcore/core/user/gfx/BreeThin.eot');
        src: url('http://www.undogo.com/testcore/core/user/gfx/BreeThin.ttf');
        src: local(BreeThin), url('BreeThin.ttf') url('BreeThin.eot') format('opentype');
}

to my basics.css file

The bug i am trying to avoid is that it first loads the arial font and a moment later the new font i want... any idea how to fix this?

Thanks!
best,
Martin
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Custom font

hallor
With most custom font methods it will take a short while before the font loads. I'm not sure if there is anything that could be done about it. It's not a matter with Core, it's how it works on the web in general.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Custom font

mlaks
ahh, ok. Thanks, :)
Loading...