gpt4 book ai didi

css - 使用@font-face 打开 Sans 字体问题

转载 作者:行者123 更新时间:2023-11-28 03:42:08 26 4
gpt4 key购买 nike

我遇到了 Open Sans @font-face 的问题。字符“a”和“e”似乎乱七八糟。请查看随附的屏幕截图,它仅在 Windows 浏览器中显示。谁能帮帮我?

我知道谷歌字体消除了这个错误。但我需要通过@font-face 包含

Open Sans @font-face a and e seemed to be messed.

最佳答案

从 fonts.google.com 添加 Open Sans 字体。在 html head 标签中添加它的链接。

注意:相应地添加字体粗细

例子:在 html head 标签中:

<link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet">

在 CSS 中

font-family: 'Open Sans', sans-serif;

通过进入控制面板>fonts>open sans从您的 PC 中删除 Open sans 字体

关于css - 使用@font-face 打开 Sans 字体问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44156024/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com