Css Webfont在Chrome中看起来很糟糕,而在Firefox中却很好

Css Webfont在Chrome中看起来很糟糕,而在Firefox中却很好,css,google-chrome,firefox,webfonts,antialiasing,Css,Google Chrome,Firefox,Webfonts,Antialiasing,我在页面上有一个使用自定义webfont的菜单。它是压缩字体类型,有阴影。当我用Firefox渲染它时,它看起来还可以,但在Chrome中很难阅读。这是一些抗锯齿问题 火狐: 铬: 我已经尝试过关闭阴影并使用-webkit字体平滑,但没有效果。我还能试什么 相关CSS如下所示: #submenu li { float: left; list-style: none; margin: 0; padding: 0; color: #fff; text-shadow:1px

我在页面上有一个使用自定义webfont的菜单。它是压缩字体类型,有阴影。当我用Firefox渲染它时,它看起来还可以,但在Chrome中很难阅读。这是一些抗锯齿问题

火狐:

铬:

我已经尝试过关闭阴影并使用-webkit字体平滑,但没有效果。我还能试什么

相关CSS如下所示:

#submenu li {
  float: left;
  list-style: none;
  margin: 0;
  padding: 0;
  color: #fff;
  text-shadow:1px 1px 0px #9a60a0;
}

#submenu li a {
  color: #fff;
  display: block;
  margin: 0;
  padding: 16px 10px 12px 40px;
  text-decoration: none;
  position: relative;
  text-shadow:1px 1px 0px #9a60a0;
  height: 22px;
}

#mainmenu{
  width:1000px;
  height:60px;
  margin:0px auto;
  font-family:LeagueGothicRegular,Arial, verdana,Century gothic,  sans-serif;  
  font-size: 18px;
}
@font-face {
    font-family: 'LeagueGothicRegular';
    src: url('fonts/League_Gothic-webfont.eot');
    src: url('fonts/League_Gothic-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/League_Gothic-webfont.woff') format('woff'),
         url('fonts/League_Gothic-webfont.ttf') format('truetype'),
         url('fonts/League_Gothic-webfont.svg#LeagueGothicRegular') format('svg');
    font-weight: normal;
    font-style: normal;
}

您正在加载哪种字体文件格式?请发布您的
@font-face
规则。除浏览器外,字体呈现还依赖于操作系统。许多字体在转换为在网络上使用时看起来不太好(谷歌提供的网络字体专门针对网络显示进行了优化)。通常,你可以通过调整
字体大小
使其看起来更好,但请记住,你在Windows上的Chrome中看到的内容并不总是与在OS X上的Chrome中呈现的内容类似。这是谷歌字体吗?它不是谷歌字体,我刚刚下载了它并用FontSquirell进行了转换我发布了@font-face规则我只在Windows上测试过它,但我会在Linux上测试它。我没有MAC,所以现在无法测试OSX