【问题标题】:Internet Explorer 7,8 Font Face with Turkish Chars带有土耳其字符的 Internet Explorer 7,8 字体
【发布时间】:2014-01-21 08:35:36
【问题描述】:

我正在尝试使用Open Sans (Turkish version)

我很确定我应用了正确的语法。但是土耳其语字符在 IE 7,8 中看起来不同

IE 9

IE8 和 IE7

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

}

@font-face {
    font-family: 'open_sanssemibold';
    src: url('Fonts/OpenSans-Semibold-webfont.eot');
    src: url('Fonts/OpenSans-Semibold-webfont.eot?#iefix') format('embedded-opentype'),
         url('Fonts/OpenSans-Semibold-webfont.woff') format('woff'),
         url('Fonts/OpenSans-Semibold-webfont.ttf') format('truetype'),
         url('Fonts/OpenSans-Semibold-webfont.svg#open_sanssemibold') format('svg');
    font-weight: normal;
    font-style: normal;

}

编辑 这很奇怪,我上传了示例here,它运行良好。本地主机上仍然存在问题

我正在使用 VS 2013 和 IIS Express 8.0

【问题讨论】:

  • 有时问题取决于浏览器如何读取字体。话虽这么说,但通常差别很小。可以肯定的是,您能展示您的字符集、示例页面等吗?
  • 我在家时会添加示例页面。当我使用小字体时,它看起来真的很奇怪
  • 我还建议您尝试Google Font's version of Open Sans 看看问题是否出在您的字体或浏览器如何解析它。
  • 标题指的是IE 7和8,样本据说来自IE 8和IE 9,它们之间没有明显的区别。仔细观察,我可能会说小写文本的间距有所减小。很有可能您已经生成了字体文件,因此省略了土耳其字母,但无法从提供的信息中确定这一点。
  • @Publi 我试过 Google Webfonts,因为你知道我不能在 IE8 上的 font-weight 属性上使用数字,这就是我需要自定义字体的原因。

标签: css internet-explorer font-face visual-studio-2013 iis-8


【解决方案1】:

解决方案

  1. 从 font-squirrel 下载字体
  2. 将它们上传到 font-squirrel 的 Font-Generalor
  3. 检查保持存在于 Trutype 提示部分

【讨论】:

    猜你喜欢
    • 2012-05-13
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-10-09
    • 2015-01-07
    • 2014-07-25
    相关资源
    最近更新 更多