Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

@font-face....not working

Featured Replies

Hi,

 

I'm trying to use font-face but it isn't working.

 

In my CSS:

 

@font-face {font-family: Museo; src: url(fonts/Museo300-Regular.otf)}

p {font-size: 4em; font-family: Museo, arial; letter-spacing: -0.05em; text-align: center; color: #e9e9e9}

 

When I view the page it is fine obviously, as I have the font, but I just asked someone to send me a screen dump and it isn't working.

 

Any ideas?

It depends which browser he/she is using.

 

Browser compatibility

Browser Lowest version Support of

Internet Explorer 4.0 Embedded OpenType fonts only

Firefox (Gecko) 3.5 (1.9.1) TrueType and OpenType fonts only

3.6 (1.9.2) Web Open Font Format (WOFF)

Opera 10.0 TrueType and OpenType fonts only

Safari (WebKit) 3.1 (525) TrueType and OpenType fonts only

 

https://developer.mozilla.org/en/css/@font-face

http://www.evotech.net/blog/2010/01/font-face-browser-support-tutorial/

 

Internet Explorer and @font-face:

 

Internet Explorer has been implementing @font-face support since version 4*. In any event, it is defintely supported in IE6, IE7 and IE8. However, their implementation relies on Embedded Open Type (.eot), a proprietary format, which no other browsers use. To make IE users happy (which some could argue you shouldn’t, as a method to encourage them to upgrade), import EOT fonts in addition to TTF/OTF fonts, and included them as "fall backs" in the font family declaration (discussed in @font-face implementation below) . FontSquirrel is a place where you can convert fonts you can legally distribute to EOT (and SVG) format.

  • Author

It depends which browser he/she is using.

 

Browser compatibility

Browser Lowest version Support of

Internet Explorer 4.0 Embedded OpenType fonts only

Firefox (Gecko) 3.5 (1.9.1) TrueType and OpenType fonts only

3.6 (1.9.2) Web Open Font Format (WOFF)

Opera 10.0 TrueType and OpenType fonts only

Safari (WebKit) 3.1 (525) TrueType and OpenType fonts only

 

https://developer.mozilla.org/en/css/@font-face

http://www.evotech.net/blog/2010/01/font-face-browser-support-tutorial/

 

Internet Explorer and @font-face:

 

Internet Explorer has been implementing @font-face support since version 4*. In any event, it is defintely supported in IE6, IE7 and IE8. However, their implementation relies on Embedded Open Type (.eot), a proprietary format, which no other browsers use. To make IE users happy (which some could argue you shouldn’t, as a method to encourage them to upgrade), import EOT fonts in addition to TTF/OTF fonts, and included them as "fall backs" in the font family declaration (discussed in @font-face implementation below) . FontSquirrel is a place where you can convert fonts you can legally distribute to EOT (and SVG) format.

 

Hey Wickham. He was viewing with Chrome. Thanks for the links, I'll take a look

will be interested to know if you get this working and what the issue is... if it would help we could check out the page?

  • Author

Still isn't working. Tried font squirrel:

 

@font-face {font-family: 'Museo300Regular'; src: url(fonts/Museo300-Regular.otf) format('opentype');src: url('fonts/museo300-regular-webfont.eot'); src: local('☺'), url('fonts/museo300-regular-webfont.woff') format('woff'), url('fonts/museo300-regular-webfont.ttf') format('truetype'), url('fonts/museo300-regular-webfont.svg#webfontxKQ7vtVe') format('svg');font-weight: normal;font-style: normal;}

p {font-size: 4em; font-family: 'Museo300Regular', arial; letter-spacing: -0.05em; text-align: center; color: #e9e9e9;}

 

Grrrrrrrrrrrrrrrr.

 

I tried Fontforge, but the whole downloading of Cygwin just got ridiculous and I aborted the idea.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.