Fonts 网页字体不';我不显示一些字母
我对webfonts有一个很大的问题,特别是Pluto Sanslight、Pluto Sansbold和Pluto Sans Regular。当我在电脑中安装.ttf文件时,我可以用立陶宛字母(ą,č,ę,ė,į,š,ų,ū,ž)书写,一切看起来都很完美,但当我在我的网站上用@font-face导入字体时,所有立陶宛字母都转换为常用字体,而不是Pluto 这是我的代码:Fonts 网页字体不';我不显示一些字母,fonts,font-face,webfonts,Fonts,Font Face,Webfonts,我对webfonts有一个很大的问题,特别是Pluto Sanslight、Pluto Sansbold和Pluto Sans Regular。当我在电脑中安装.ttf文件时,我可以用立陶宛字母(ą,č,ę,ė,į,š,ų,ū,ž)书写,一切看起来都很完美,但当我在我的网站上用@font-face导入字体时,所有立陶宛字母都转换为常用字体,而不是Pluto 这是我的代码: @font-face { font-family: 'pluto_sanslight'; src: url(
@font-face {
font-family: 'pluto_sanslight';
src: url('../fonts/plutosanslight-webfont.eot');
src: url('../fonts/plutosanslight-webfont.eot?#iefix') format('embedded-opentype'),
url('../fonts/plutosanslight-webfont.woff2') format('woff2'),
url('../fonts/plutosanslight-webfont.woff') format('woff'),
url('../fonts/plutosanslight-webfont.ttf') format('truetype'),
url('../fonts/plutosanslight-webfont.svg#pluto_sanslight') format('svg');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'pluto_sansbold';
src: url('../fonts/plutosansbold-webfont.woff2') format('woff2'),
url('../fonts/plutosansbold-webfont.woff') format('woff');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'pluto_sans_regularregular';
src: url('../fonts/plutosansregular-webfont.eot');
src: url('../fonts/plutosansregular-webfont.eot?#iefix') format('embedded-opentype'),
url('../fonts/plutosansregular-webfont.woff2') format('woff2'),
url('../fonts/plutosansregular-webfont.woff') format('woff'),
url('../fonts/plutosansregular-webfont.ttf') format('truetype'),
url('../fonts/plutosansregular-webfont.svg#pluto_sans_regularregular') format('svg');
font-weight: normal;
font-style: normal;
}
您的web服务器似乎没有正确提供字体文件。 您是否检查了浏览器控制台以查找404错误 例如,是路径
url('../font/plutosanslight webfont.eot')代码>是否正确提供请求的资源
字符以常用字体显示的原因可能是您指定了包含回退字体的字体系列。
请发布您的CSS代码,以便我们看到您是如何指定字体系列的
希望有帮助,
Simone您的web服务器似乎没有正确提供字体文件。
您是否检查了浏览器控制台以查找404错误
例如,是路径url('../font/plutosanslight webfont.eot')代码>是否正确提供请求的资源
字符以常用字体显示的原因可能是您指定了包含回退字体的字体系列。
请发布您的CSS代码,以便我们看到您是如何指定字体系列的
希望有帮助,
西蒙妮解决了
问题是,当我用“Fontsquirrel”()生成webfont时,并没有检查自定义子集。。。然后是立陶宛人。就这样。解决了
问题是,当我用“Fontsquirrel”()生成webfont时,并没有检查自定义子集。。。然后是立陶宛人。就是这样。Pathurl('../font/plutosanslight webfont.eot')代码>正确,并且console未显示任何404错误。顺便说一句,有了新的webfont,因此,只有立陶宛字母(ą、č、ę等)没有显示并改为常用字体。使用字体的示例:我们创建策略,等等。
字体在这里,但不是我提到的立陶宛字母。路径url('../font/plutosanslight webfont.eot')代码>正确,并且console未显示任何404错误。顺便说一句,有了新的webfont,因此,只有立陶宛字母(ą、č、ę等)没有显示并改为常用字体。使用字体的示例:我们创建策略,等等。
字体在这里,但不是我提到的立陶宛字母。