Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Font Face

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

@font-face
{
 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?
0
Comment
Question by:JCWEBHOST
10 Comments
 
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.
0
 
LVL 3

Expert Comment

by:boraganesh
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
0
 

Author Comment

by:JCWEBHOST
ID: 34171550
but how do i fix that blured fonts?
0
Technology Partners: 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!

 
LVL 3

Expert Comment

by:boraganesh
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.
0
 
LVL 29

Expert Comment

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

What in the world does that mean?
0
 
LVL 29

Expert Comment

by:Badotz
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?
0
 
LVL 6

Expert Comment

by:kmead6
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;
                  }
            }
</style>

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.
0
 
LVL 44

Accepted Solution

by:
scrathcyboy earned 2000 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.
0
 
LVL 3

Expert Comment

by:boraganesh
ID: 34178892
yes..right scrathcyboy:

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

Expert Comment

by:Badotz
ID: 34179339
boraganesh: You have not answered my questions...
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Ever visit a website where you spotted a really cool looking Font, yet couldn't figure out which font family it belonged to, or how to get a copy of it for your own use? This article explains the process of doing exactly that, as well as showing how…
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Suggested Courses

971 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