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
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?
Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.


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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Citrix XenApp, Internet Explorer 11 set to Enterprise Mode and using central hosted sites.xml file.
This article discusses four methods for overlaying images in a container on a web page
In this tutorial viewers will learn how to embed custom externally-hosted Google Fonts using the Google Font API in CSS Go to the Google Fonts website at Browse or search based on font properties or name to find a suitable font for…
This Micro Tutorial will demonstrate how nuggets on the Web are formatted by using Chrome Developer Tools. These tools would not only view the site's CSS but it can also modify it and save the CSS to use on your own site.

839 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