Tell me more ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

We have using microsoft word 2003 and we have used the below code to render the font.

font_face = "Trebuchet MS, Helvetica, Arial, sans-serif"

but, instead of Trebuchet MS, we are getting Helvetica font and this font is not available in fonts folder. why some times Trebuchet Ms is failng and Helvetacis there any OS dependencies are there in identifing and rendering the Trebuchet MS font

share|improve this question
1  
This isn't the right site for your question. You say you're using Microsoft Word, but then you quote what looks like HTML. If you're using Word then it's a question for superuser.com. For HTML questions you need to ask on stackoverflow.com. – paulmorriss Nov 28 '12 at 15:19

2 Answers

im not sure what your trying to do, use @font_face or use font-family. As the code you have above dosnt seem to make sense.

If you want to use a font-family you need to write it as

p {font-family: "Trebuchet MS, Helvetica, Arial, sans-serif";}

If you want to use @font_face, i think the problem is that your not specifying you font_face correctly. You need to specify different file types of the same font for different browsers.

Like this

@font-face {
    font-family: 'Trebuchet_MS';
    src: url('Trebuchet_MS.eot?#iefix') format('embedded-opentype'), 
         url('Trebuchet_MS.woff') format('woff'), 
         url('Trebuchet_MS.ttf')  format('truetype'),
         url('Trebuchet_MS.svg#svgFontName') format('svg');
    }

Then reference them in your css as

p {font-family: "Trebuchet_MS, Helvetica, Arial, sans-serif"}
share|improve this answer

If its not in your fonts folder than the font is not available to you. Some applications include embedded fonts which dont rely on the fonts folder. But the general rule is if the font is located as a system font then its available to all applications.

A good example is that you create a web page and use the font call "ballpark". When the webpage loads the browser first checks the local system. If it cannot load the font, and no 2nd fallback is used, then it loads the system font which in windows is usually Helvetica. Most web sites uses Web Fonts now either hosted or included as part of the CSS. I dont think MS Word allows you to embed fonts. Adobe Acrobat / PDF does for sure.

So if your case, just install the free font into your fonts folder. THen the issue will go away. If you are sharing the word file, then turning it into a PDF you will have the choice to embed the required fonts. if you have to stick with word, then you need to use fonts which are system agnostic, or find a way to embed fonts from either the web or into MS word.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.