Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
Firefox Won't Display Myriad Font
Old 09-19-2011, 04:52 AM Firefox Won't Display Myriad Font
pealo86's Avatar
Super Spam Talker

Posts: 876
Name: Matt Pealing
Location: England, north west
Trades: 0
Okay I know this is going to seem like a stupid question seeing as Myriad is not a web safe font.

My client wishes me to set the default font in CSS as Myriad, just for those who have the font installed.

I don't seem to have any trouble getting the font to display in Safari or Chrome with the following code:

Code:
body {
    font: 12px myriad, arial, sans-serif;
    color: #000;
    border-top: #db921a solid 15px;
    position: relative;
}
However in Firefox it falls back to Arial, completely ignoring Myriad.

Does anyone know why this may be? Seems to me as if there's just something about Myriad that Firefox doesn't like (maybe its just the font file on my computer?). I can see from checking the properties of the font file that it is listed as a 'Font Suitcase' file... which I've never heard of??

Here is a link to the build if that helps
http://tinyurl.com/6cqdr34

I imagine a font replacement service such as Typekit is the only way to go?
__________________

Please login or register to view this content. Registration is FREE

Last edited by pealo86; 09-19-2011 at 04:56 AM..
pealo86 is offline
Reply With Quote
View Public Profile Visit pealo86's homepage!
 
 
Register now for full access!
Old 09-19-2011, 05:00 AM Re: Firefox Won't Display Myriad Font
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,371
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
"Websafe" fonts are sooooo last century!

http://www.alistapart.com/articles/on-web-typography/
http://www.css3.info/preview/web-fonts-with-font-face/
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 09-19-2011, 05:04 AM Re: Firefox Won't Display Myriad Font
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,371
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
BTW
the body font ruleset in your page is

font-family: "Trebuchet MS",Arial,sans-serif;

no mention of myriad
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 09-19-2011, 03:33 PM Re: Firefox Won't Display Myriad Font
pealo86's Avatar
Super Spam Talker

Posts: 876
Name: Matt Pealing
Location: England, north west
Trades: 0
Quote:
Originally Posted by chrishirst View Post

Ahhh for some reason I was under the impression we only had a very limited choice of fonts to use with @font-face? Maybe not.

Quote:
Originally Posted by chrishirst View Post
BTW
the body font ruleset in your page is

font-family: "Trebuchet MS",Arial,sans-serif;

no mention of myriad
Are you sure? This is how things look in Firebug for me (see attached image)

Quote:
Originally Posted by Pinkerton-baby View Post
Seems like you've sorted out your problem....

I am using FireFox 6.0.2, and it looks fine.

Cheers.

Pinkerton
That's odd, I'm using 6.0.2 and Myriad is not showing, maybe its something to do with using Mac Firefox.

Oh well, looks like @font-face is the best bet, thanks for the replies!
Attached Images
File Type: png Screen Shot 2011-09-19 at 20.27.31.png (15.7 KB, 3 views)
__________________

Please login or register to view this content. Registration is FREE
pealo86 is offline
Reply With Quote
View Public Profile Visit pealo86's homepage!
 
Reply     « Reply to Firefox Won't Display Myriad Font
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 1.21066 seconds with 13 queries