Font Face

Posted on 2010-11-18
Last Modified: 2012-06-21
Hey guys, i have a problem, i am pulling fonts from the sever, here is my code:

 font-family: 'MyCustomFont';
 src: url('../Fonts/calibri-webfont.eot');
 src: local('Calibri'), local('Calibri'), url('../Fonts/calibri-webfont.woff') format('woff'), url('../Fonts/calibri-webfont.ttf') format('truetype'), url('../Fonts/calibri-webfont.svg#webfonthsJxRxCf') format('svg');

the problem is that the fonts look different in firefox and IE? why?
can any one help me and show me how to use font face to pull fonts and dislpay it in different browser?

In FireFox and google Chrome the smaller fonts seems to be gramed up, but i did use :

font-size-adjust: 0.47;

but it does not seem to look right, can someone please help me so i can display to fonts in all browser the same?
Question by:JCWEBHOST
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 16

Expert Comment

by:Vikram Singh Saini
ID: 34171039
End user make their browser's font and size set according to their preference. So in your case that could be hurdle.

Expert Comment

ID: 34171077
Yes there is some diffrence in rendering fonts in Mozzila and IE

As compare to IE mozzila shows blured fonts. but no need to worry about it as its a browser issue

Author Comment

ID: 34171550
but how do i fix that blured fonts?
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!


Expert Comment

ID: 34171578
no.its not under our control...its browsers issue. same like OS windows and linux..
linux shows nice fonts as compared to windows.
LVL 29

Expert Comment

ID: 34173287
>>linux shows nice fonts as compared to windows.

What in the world does that mean?
LVL 29

Expert Comment

ID: 34173319
boraganesh: While we're at it, you state:

"As compare to IE mozzila shows blured fonts. but no need to worry about it as its a browser issue" (sic)

Upon what is this based?

Expert Comment

ID: 34174439
You could try calling a different style for Mozilla by including in your <head> tags:
<style type="text/css">
            @-moz-document url-prefix() {
                p {
                        font-size-adjust: 1;

or whatever needs to be adjusted since we don't have a link or any other html/css to go off of. A link is always helpful to be able to see the problem.
LVL 44

Accepted Solution

scrathcyboy earned 500 total points
ID: 34178064
"can someone please help me so i can display to fonts in all browser the same?"

The only way I know of getting all browsers to render a font identically is to use the STANDARD fonts that are installed in these OSs, like --

ARIAL, TAHOMA, VERDANA, Times New Roman -- etc.

Those are the standards for all browsers.  When you pull fonts from a server with encoding that may not match what the browser on a particular OS interprets the encoding to be, you will get bad font rendering, and each browser rendering it differently.  Hence you are stuck with the standard ones.

Expert Comment

ID: 34178892
yes..right scrathcyboy:

we have no options otherwise stucking with browsers standards..:)
LVL 29

Expert Comment

ID: 34179339
boraganesh: You have not answered my questions...

Featured Post

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Citrix XenApp, Internet Explorer 11 set to Enterprise Mode and using central hosted sites.xml file.
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
This Micro Tutorial will demonstrate how to add subdomains to your content reports. This can be very importing in having a site with multiple subdomains.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Suggested Courses

624 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question