Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(font-family): Priority loading "Microsoft Yahei" and "Microsoft JhengHei" #13688

Merged
merged 4 commits into from
Jan 3, 2025

Conversation

TCOTC
Copy link
Contributor

@TCOTC TCOTC commented Dec 31, 2024

思源黑体可能有点问题 https://ld246.com/article/1735625496383

@88250 88250 requested a review from Vanessa219 January 1, 2025 13:57
@Vanessa219
Copy link
Member

这样可能会有这个问题:

微软字体斜体会被相邻背景遮挡,将 arial 放置其前 #11841

@TCOTC
Copy link
Contributor Author

TCOTC commented Jan 1, 2025

我刚刚发现,就算 arial 在前面,因为没有中文字形所以还是会回退到微软雅黑,斜体还是有问题。还得想想怎么能解决

@TCOTC
Copy link
Contributor Author

TCOTC commented Jan 1, 2025

又发现我这里 arial 的斜体也会被遮挡

@TCOTC
Copy link
Contributor Author

TCOTC commented Jan 1, 2025

仔细看了一下 Segoe UI 也是略微被遮挡。又看了一下其他的笔记软件都有同样的问题,应该是没法解决了

@Vanessa219
Copy link
Member

可以截图说明一下么?因为以前这样调整是有改善的。

@TCOTC
Copy link
Contributor Author

TCOTC commented Jan 2, 2025

我又看了一下,微软雅黑没有带斜体字形所以对数字字母符号的影响很大(其他字体的斜体也会遮挡,但遮挡的部分很小),汉字因为各种字体都没有斜体字形所以无论怎样排字体顺序都会产生遮挡。

改成 arial 放前面了,不过只能优化英文符号的斜体显示。

@Vanessa219 Vanessa219 merged commit e007374 into siyuan-note:dev Jan 3, 2025
@Vanessa219
Copy link
Member

3.1.19

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants