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

添加可选的文字灰度抗锯齿功能 #2983

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

Tinhone
Copy link

@Tinhone Tinhone commented Apr 9, 2024

添加 设置 > 外观 > 灰度抗锯齿技术 选项和相关功能,默认关闭。开启后,可解决在一些分辨率相对较低的屏幕下出现的文字渲染锯齿问题,但同时可能会带来轻微的文字渲染发虚问题。

另外发现抗锯齿仅对部分字体生效,尚不清楚原因。

抗锯齿相关功能使用了 https://docs.oracle.com/javase/8/javafx/api/javafx/scene/doc-files/cssref.html#text 中的 -fx-font-smoothing-type

@Tinhone Tinhone changed the title 添加可选的字体灰度抗锯齿 添加可选的文字灰度抗锯齿功能 Apr 10, 2024
@Tinhone Tinhone marked this pull request as ready for review April 15, 2024 16:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant