I embed Lucida Sans regular font using font-face
and it is working fine on all browsers except IE9. I used font-face
something like this:
@font-face {
font-family: 'Lucida-Sans-regular';
src: url('../fonts/Lsans.eot');
src: local('Lucida sans'), url('../fonts/Lsans.woff') format('woff'), url('../fonts/Lsans.ttf') format('truetype'), url('../fonts/Lsans.svg') format('svg');
font-weight: normal;
font-style: normal;
}
Can anyone help to make it working on IE9?
I think it is recommended to do the following :
@font-face {
font-family: 'MyWebFont';
src: url('webfont.eot'); /* IE9 Compat Modes */
src: url('webfont.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('webfont.woff') format('woff'), /* Modern Browsers */
url('webfont.ttf') format('truetype'), /* Safari, Android, iOS */
url('webfont.svg#svgFontName') format('svg'); /* Legacy iOS */
}