生成的网络字体不显示上方的点 Ü
我正在使用 http://www.fontsquirrel.com/fontface/generator 生成我的字体准备好上网了。我已将选项设置为包含德语的子集。
在网站中,我输入了以下内容:Über WFW Deutschland
,但查看时显示为Uber WFW Deutschland
。奇怪的是,如果我在任何 IE 版本中查看,它都会正确显示。如果我切换到任何默认系统字体,它也会在任何浏览器中正确显示。
如何使生成的字体正常工作?
更新 - 来自生成器的 CSS 代码:
@font-face {
font-family: 'PalatinoMedium';
src: url('../fonts/palatinm-webfont.eot');
src: url('../fonts/palatinm-webfont.eot?#iefix') format('embedded-opentype'),
url('../fonts/palatinm-webfont.woff') format('woff'),
url('../fonts/palatinm-webfont.ttf') format('truetype'),
url('../fonts/palatinm-webfont.svg#PalatinoMedium') format('svg');
font-weight: normal;
font-style: normal;
}
I'm using http://www.fontsquirrel.com/fontface/generator to generate my font ready for web. I've set the options to include subsetting of the German language.
In the website I put this: Über WFW Deutschland
but when viewed it comes out as Uber WFW Deutschland
. Whats weird is that if I view in any IE version it shows correctly. If I switch to any default system font it also displays correctly in any browser.
How can I get my generated font to work correctly?
Update - CSS Code from generator:
@font-face {
font-family: 'PalatinoMedium';
src: url('../fonts/palatinm-webfont.eot');
src: url('../fonts/palatinm-webfont.eot?#iefix') format('embedded-opentype'),
url('../fonts/palatinm-webfont.woff') format('woff'),
url('../fonts/palatinm-webfont.ttf') format('truetype'),
url('../fonts/palatinm-webfont.svg#PalatinoMedium') format('svg');
font-weight: normal;
font-style: normal;
}
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
经过几个小时的思考,我发现选项
应用提示 - 改进 Win 渲染
在勾选时会破坏字体。取消勾选并重新转换我的字体,现在字体按应有的方式显示。虽然这个字体在 Windows 上看起来不太好......
After hours of fannying about I found that the option
Apply Hinting - Improve Win rendering
when ticked was breaking the font. Un-ticked that and reconverted my font and now the font is displaying as it should.Although the font doesn't look as nice on Windows...