We help IT Professionals succeed at work.

Fonts in Windows 7

669 Views
Last Modified: 2014-08-26
I'm one of those last holdouts who didn't upgrade to Windows 7 until just about the time support for WinXP ended. So far, no real issues until today.

I do some work that involves using a font that doesn't come with Windows 7, but is an OTF font (Meta OT). On my XP machine, I installed the font and when doing the work (it's a few static HTML pages), they font would render perfectly normally.

Fast forward to today, when I started working on the latest set of pages. I installed the font by copying it into the fonts folder, but when I view the page, the font doesn't render using the exact same code (font-family: MetaOT-Norm) I've been using for a year. Changing it to Meta OT -- the name listed in the fonts folder -- does work, but it will only show one of four weights of the font (Normal, Medium, Book and Bold), and it defaults to the first version alphabetically (Bold) instead of the one I want (Normal).

Any suggestions on how to get Windows 7 to play nice and let me see the ones I want?
Comment
Watch Question

Michael MachieIT Supervisor
CERTIFIED EXPERT
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION
CERTIFIED EXPERT
Expert of the Year 2014
Top Expert 2014

Commented:
Try double clicking the font to register it though it should have done that anyway from the font directory
CERTIFIED EXPERT

Author

Commented:
Machienet,

No installer came with it when I got it for XP. More importantly, it shows up just fine in other programs (e.g. Adobe CS4); it's just not rendering in either Firefox or IE11 (though there are different issues in each, which isn't all that surprising).

Gary,

Double-clicking opens up the font viewer, which has two buttons: Print, which lets you print a test page of the font in different sizes) and Install (which is grayed out, an indication that it's already installed). However, that gives me an idea to try... so I'll look at responses in a few minutes.

ep
CERTIFIED EXPERT
Expert of the Year 2014
Top Expert 2014

Commented:
So it's nothing to do with the system seeing it, it's the browsers, in websites?
How are you including it in the CSS
CERTIFIED EXPERT

Author

Commented:
So it's nothing to do with the system seeing it, it's the browsers, in websites?

Yes and no. For Word, for example, I will see six versions of the font listed (Meta OT Normal, Meta OT Medium, Meta OT Bold, with italic versions of each). If I include anything other than Meta OT as part of a style sheet or style attribute, then the font is ignored and it goes to Arial/Helvetica/sans serif.

And worse... if I put Meta OT Normal -- the name Windows 7's Explorer shows in the font list -- it won't render either; it wants to see the Bold version, but only if I leave the descriptor (Normal, Medium, Bold) off the end. If I delete the Bold version of the font, then it finds the Medium, which is more like a demi-bold.

How are you including it in the CSS

The actual style sheet:
body {margin: 0; padding: 0; line-height: 1.5em; font-family: Meta OT, Arial, helvetica, sans-serif; font-size: 14px; text-align:left; color:#000;}

Open in new window


The HTML page:
{font: 14px Meta OT, Arial, helvetica, sans-serif; text-align: left;}

Open in new window


Paragraph styles (this works, with the limitations noted above)
<p style="color: #154A8F; font: 14px Meta OT, Arial, helvetica, sans-serif; line-height: 17px; margin: 0 0 10px 0;">

Open in new window


I'm able to make a paragraph bolder by increasing the font weight to 700, but trying to make it a lighter weight doesn't seem to work particularly.
CERTIFIED EXPERT
Expert of the Year 2014
Top Expert 2014

Commented:
Maybe it's corrupted

Maybe convert it
http://onlinefontconverter.com/
CERTIFIED EXPERT

Author

Commented:
I don't know why it would be corrupted. I've used it on artwork (last night). I've used it in Word documents (before posting this question). It seems to be an issue with the way Windows 7 sees the family of fonts.

I'm under a deadline, so I'm going to use a workaround... but I'd like to solve this, so I'm going to try the converter and see what happens when I use a different font type... but not until tonight.

ep
CERTIFIED EXPERT

Author

Commented:
Gary,

I downloaded converted versions of the files (TTF fonts), but using them had no effect. For whatever reason, browsers don't seem to like the font's name.

ep
CERTIFIED EXPERT
Expert of the Year 2014
Top Expert 2014

Commented:
Wrap the font name in apostrophes.
CERTIFIED EXPERT

Author

Commented:
Gary,

Wrapping the font name in apostrophes had no effect. I'm sure this is a related issue, but...

I'm really beginning to hate Chrome: http:/Q_28499617.html

ep
CERTIFIED EXPERT
Expert of the Year 2014
Top Expert 2014

Commented:
Add this (as the first line) to your stylesheet and add the font to your site folder - change the path to the font and the font name.

@font-face {
font-family: Meta OT;
src: url("font-folder-path/Meta OT.otf") format("opentype");
}
CERTIFIED EXPERT
Expert of the Year 2014
Top Expert 2014
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION
CERTIFIED EXPERT

Author

Commented:
So I'm going to need the actual path on the server, right? This should be entertaining.
CERTIFIED EXPERT
Expert of the Year 2014
Top Expert 2014

Commented:
Yes, just copy the fonts to a folder somewhere under your root.
CERTIFIED EXPERT

Author

Commented:
*laughing*... that's what I meant by entertaining. I have no control of or access to the server. I just do the work locally and then send it in -- so I'm going to have to hope someone sends me the path Monday.
CERTIFIED EXPERT

Author

Commented:
Okay... there are four fonts I need to be able to use. Windows Explorer groups them under Meta OT, but the ones I need are
Meta OT (MetaOT-Norm.otf)
Meta OT Italic (MetaOT-NormIta.otf)
Meta OT Bold (MetaOT-Bold.otf)
Meta OT Bold Italic (MetaOT-BoldIta.otf)

On my local machine, they're in C:/Windows/Fonts -- and since I can't get the font to show up in Chrome at all, do I need to put that code in for each one?
CERTIFIED EXPERT
Expert of the Year 2014
Top Expert 2014

Commented:
For each one you will be using yes - still think it would be easier to convert them to TTF using
http://www.fontsquirrel.com/tools/webfont-generator
And you will get the cross browser css code to use as well.
CERTIFIED EXPERT

Author

Commented:
It's worth a try, although I did try your suggestion in http:#a40261963 and had no change.
CERTIFIED EXPERT

Author

Commented:
Thanks, folks, The client wound up telling me that I didn't have to bother with Meta OT for three months, and can even drop it if I'm so inclined.

ep

Gain unlimited access to on-demand training courses with an Experts Exchange subscription.

Get Access
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Empower Your Career
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.