Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/css/37.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/visual-studio-code/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Css Internet Explorer 7,8字体,带土耳其字符_Css_Internet Explorer_Font Face_Visual Studio 2013_Iis 8 - Fatal编程技术网

Css Internet Explorer 7,8字体,带土耳其字符

Css Internet Explorer 7,8字体,带土耳其字符,css,internet-explorer,font-face,visual-studio-2013,iis-8,Css,Internet Explorer,Font Face,Visual Studio 2013,Iis 8,我正在尝试使用 我确信我使用了正确的语法。但是,在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('Font

我正在尝试使用

我确信我使用了正确的语法。但是,在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;

}

编辑 这很奇怪,我上传了一个例子,它工作得很好。本地主机上仍然存在问题

我正在使用VS 2013和IIS Express 8.0解决方案

  • 从FontSquirrel下载字体
  • 上传到font squirrel的字体Generalor
  • 检查Trutype Hinting部分是否存在

  • 有时问题取决于浏览器如何读取字体。尽管如此,两者之间的差别往往很小。当然,你能展示你的字符集,一个样本页,等等吗?我在家的时候会添加样本页。当我使用小字体时,它看起来真的很奇怪。sizeI还建议你试着看看问题是否出在你的字体上,或者浏览器如何解析它。标题是指IE7和IE8,据说样本来自IE8和IE9,它们之间没有明显的区别。仔细看,我可能会说小写文本的间距有所减小。很有可能是您生成了字体文件,因此省略了土耳其语字母,但无法从提供的信息中确定这一点。@Publi我尝试了Google Webfonts,因为您知道我无法在IE8的“字体重量”属性中使用数字,这就是我需要自定义字体的原因。
    @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;
    
    }