生成的网络字体不显示上方的点 Ü

发布于 2024-12-22 11:30:08 字数 832 浏览 2 评论 0原文

我正在使用 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

痴梦一场 2024-12-29 11:30:08

经过几个小时的思考,我发现选项应用提示 - 改进 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...

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文