1 reply [Last post]
wyclef
wyclef's picture
Offline
Regular
Last seen: 2 years 45 weeks ago
Timezone: GMT-4
Joined: 2004-01-21
Posts: 46
Points: 23

hey, are there any bugs with @font-face in firefox 3.6.3? i'm having trouble getting the font to render.

i'm calling the font like this...

then

/* import stylesheets and hide from IE/Mac \*/
@import "fonts.css";
@import "morestyles.css";
/* end import/hide */

then

@font-face {
font-family: 'MyFont';
src: url('font.eot');
src: local('☺'), url('font.woff') format('woff'), url('font.ttf') format('truetype'), url('font.svg#webfont') format('svg');
font-weight: normal;
font-style: normal;
}

then

h2 {
font-family: 'MyFont', sans-serif;
}

everything seems to work in safari and explorer. not sure whats up with firefox.

thepineapplehead
thepineapplehead's picture
Offline
Guru
Milton Keynes
Last seen: 28 weeks 6 days ago
Milton Keynes
Joined: 2004-06-30
Posts: 9668
Points: 801

Could you paste all the code,

Could you paste all the code, so we can re-create your pages and help test, or better yet a link to the page if it's online anywhere?

Verschwindende wrote:
  • CSS doesn't make pies