How can i solve font-weight, text too bold, in safari or mac when compared to other browsers?

I have used "Levenim MT" font in my website. Mozilla Firefox, Google Chrome and others relevant browsers is right. But problem in MAC and Safari browsers font-size and weight is too much to any other browsers.Now what can i do?

@font-face {
  font-family: 'levenim_mt';
  src: url('../fonts/levenim_mt.eot');
  src: url('../fonts/levenim_mt.eot?#iefix') format('embedded-opentype'),
       url('../fonts/levenim_mt.woff') format('woff'),
       url('../fonts/levenim_mt.ttf') format('truetype');

}

body{
  font-family: 'levenim_mt', sans-serif;
  background: #f4f4f4;
  clear: both;
}

Answers


Well this error is new and unique for me but i am aware about 1 css hack through which you can write css specificly for mac

if(navigator.userAgent.indexOf('Mac') > 0)
$('body').addClass('mac-os');

body.mac-os{
  font-family: 'levenim_mt', sans-serif;
  background: #f4f4f4;
  clear: both;
  font-weight: //font weight for mac you want;
  font-size: //font size for mac you want;
}

This will only apply above css in mac


Need Your Help

live validation input when min>max in jquery

javascript jquery validation

I want validate input "min" and "max" and give an error. My actual code work when I press submit button. I want validate this in live when the user

Converting a Char * to a float using sscanf

c token

Im trying to convert a token to a float using sscanf. The code compiles and runs but whenever I enter a value I just get 0.0000. Its not converting properly for some reason.