font size differences in ie9

Relax and enjoy The Lounge. For all Non-Joomla! topics or ones that don't fit anywhere else. Normal forum rules apply.
Locked
ndyccm
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Tue Dec 22, 2009 12:47 pm

font size differences in ie9

Post by ndyccm » Sat Jan 12, 2013 6:53 am

not sure if this is the right forum for this issue, but i've been having some problems with ie9 not reading custom fonts. at all.

here's what i have in my stylesheet (which i may add, every other browser reads the font perfectly fine):

Code: Select all

@font-face {
	font-family: 'OswaldBook';
	src: url('../fonts/Oswald-Light-webfont.EOT') !important; /* IE9 */
	src: url('../fonts/Oswald-Light-webfont.EOT') format('embedded-opentype'), /* IE6-IE8 */
	     url('../fonts/Oswald-Light-webfont.woff') format('woff'), /* Modern Browsers */
	     url('../fonts/Oswald-Light-webfont.ttf')  format('truetype'), /* Safari, Android, iOS */
	     url('../fonts/Oswald-Light-webfont.svg#OswaldLight') format('svg'); /* Legacy iOS */
	font-weight: normal; font-style: normal;
	}
the website is www.mainstreettower.com

i am referring only to the navigation menu.
anyone have any input, or have done anything to solve this? the code above *should* make it work. but it doesnt.
i'm also going to note that i hate internet explorer with a passion.

ndyccm
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Tue Dec 22, 2009 12:47 pm

Re: font size differences in ie9

Post by ndyccm » Sat Jan 12, 2013 7:53 am

figured it out. the code i used:

Code: Select all

@font-face {
    font-family: 'OswaldBook';
    src: url('Oswald-Regular-webfont.eot');
    src: url('Oswald-Regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('Oswald-Regular-webfont.woff') format('woff'),
         url('Oswald-Regular-webfont.ttf') format('truetype'),
         url('Oswald-Regular-webfont.svg#OswaldBook') format('svg');
    font-weight: normal;
    font-style: normal;

}
and had to put the font files in the same folder as the CSS file


Locked

Return to “The Lounge”