起因是升级了 KB5053656 之后,发现 GitHub 上的中文字体变得怪怪的,仔细一看这不是 Noto Sans SC 吗?
看了一下 font-family 是 -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"
,为什么 Segoe UI 没起作用?
Segoe UI 的 FontLink 配置为:
MSYH.TTC,Microsoft YaHei UI,128,96
MSYH.TTC,Microsoft YaHei UI
TAHOMA.TTF,Tahoma
MSJH.TTC,Microsoft Jhenghei UI,128,96
MSJH.TTC,Microsoft Jhenghei UI
MEIRYO.TTC,Meiryo UI,128,96
MEIRYO.TTC,Meiryo UI
SIMSUN.TTC,SimSun
MINGLIU.TTC,PMingLiU
MSGOTHIC.TTC,MS UI Gothic
MALGUN.TTF,Malgun Gothic,128,96
MALGUN.TTF,Malgun Gothic
GULIM.TTC,Gulim
YUGOTHM.TTC,Yu Gothic UI,128,96
YUGOTHM.TTC,Yu Gothic UI
SEGUISYM.TTF,Segoe UI Symbol
写了一个测试:
<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>测试 Segoe UI 字体</title>
<style>
body {
font-family: "Segoe UI";
font-size: 24px;
text-align: center;
margin-top: 50px;
}
</style>
</head>
<body>
<h1>测试字体</h1>
</body>
</html>
发现实际渲染用的是 Noto Sans SC ,卸载更新以后就可以用微软雅黑渲染了。
我的系统语言是英文,但感觉和这个应该关系不大。有没有安装了 KB5053656 的朋友发现字体出问题了?
1
hysjw 1 天前
还是 stylus 或者 firefox 吧 稳定点 避免一些问题
|
2
volks 1 天前
segoe ui 本来就不含中文啊,之前显示雅黑是因为没有 noto sans ,更新向系统添加了 noto sans ,自然优先显示
|
![]() |
3
Mythologyli OP @volks 可以看看什么是 font link
|
![]() |
4
Koell 1 天前 ![]() https://blogs.windows.com/windows-insider/2025/03/13/releasing-windows-11-build-22631-5116-to-the-release-preview-channel/
Windows 从这个更新开始预置 Noto Sans CJK 了,Chrome 在版本大概 128 时,如果系统内有 Noto Sans 会默认使用。 https://groups.google.com/a/chromium.org/g/blink-dev/c/t1Mc7oJdNQY 所以安装完 Windows 更新就会突然换字体了。 |
![]() |
5
Mythologyli OP @Koell 原来如此,那可能 chrome 一开始就不支持 fontlink
|
6
vvhy 1 天前
一直在用 stylus 把-apple-system 之类的一堆东西替换成喜欢的字体,我管你这的那的🐶
|
![]() |
7
Fdyo 1 天前
Noto 是新引入的字体,微软说是为了提高网页浏览体验。其实是在上周的预览版 Build 22631.5116 ( KB5053657 )开始推出的 https://ohh.run/fef9
|
![]() |
8
Mythologyli OP @Fdyo 我感觉比较奇怪的是为什么不遵守系统的 fontlink ,按理说在 segoe ui 这里就应该定向到微软雅黑了
|
![]() |
9
Fdyo 1 天前
@Mythologyli Chrome 可能的原因:这次更新后 Windows 11 将 Noto Sans 作为 CJK 语言的默认字体,浏览器可能会优先使用它,而不是 Segoe UI 。
|
![]() |
10
zhj9709 1 天前
我 24 英寸 1080p 的屏幕现在字体看着没以前清楚
|
![]() |
11
Mythologyli OP @Fdyo 搞明白了,确实是 chrome 不会使用 fontlink ,安装了 noto sans 之后 font-family 没有能显示中文的字体就用 noto sans 了
|
![]() |
13
Mythologyli OP @zhj9709 我直接把更新加的 Noto Sans 字体删了,现在正常了
|
![]() |
14
zhj9709 15 小时 19 分钟前
@Mythologyli #13 你是怎么删的,我的删不掉
|
![]() |
15
Mythologyli OP @zhj9709 可以谷歌一下如何删除系统字体,简单来说就是用第三方文件管理器删除
|
![]() |
16
zhj9709 2 小时 56 分钟前
@Mythologyli #15 直接用火绒粉碎了
|