-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Right now I'm trying desperately to get @font-face to work in my website. This is the code I am using right now.
@font-face {
font-family: romeral;
src: url(fonts/romeral.otf ) format("opentype");
}
And then....
h1 {
font-size:2.5em;
font-family:romeral;
}
I am using the font Romeral.…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I found @font-face is good alternative of sIFR3 but every browser need different extension of font.
If any font which is freely available as a download on net or if font is purchased by client of purchased by my company. in all condition can i use those fonts?
Is there any cons to use @font-face…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I'm looking at the MDC page for the @font-face CSS rule, but I don't get one thing. I have separate files for bold, italic and bold + italic, how can I embed all three files in one @font-face rule? For example, if I have:
@font-face {
font-family: "DejaVu Sans";
src: url("./fonts/DejaVuSans…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Is it possible to preload or otherwise cache @font-face fonts, most likely with javascript, before the page loads so you don't get that ugly jump when the page finally does load?
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Here is the css code:
/*Custom*Font*Declerations*/
/*Delicious-Bold*Italic*/
@font-face { font-family: delicious-bolditalic; src: url('dc30.otf'); format("opentype"); }
/*Chunkfive*/
/*(OpenType)*/
@font-face { font-family: Chunkfive; src: url('Chunkfive.otf'); format("opentype");…
>>> More