AlynxZhou / flipclock

A flip clock screensaver supported by SDL2.
https://flipclock.alynx.one/
Apache License 2.0
133 stars 24 forks source link

Windows 搭配 HiDPI 有点糊 #1

Closed ZeppLu closed 4 years ago

ZeppLu commented 4 years ago

image

如图,点开大图就能看清楚边缘的模糊。问题其实不是很大,但能改一下就最好了。

Windows 10 build 17763 1920×1080,缩放 150% flipclock v2.3.9

AlynxZhou commented 4 years ago

和HiDPI关系不大,是因为画圆角的算法是我自己写的,没有抗锯齿,再说其实并不是特别明显,没必要为了这个增加性能负担。

Zepp notifications@github.com 于2020年3月25日周三 下午6:11写道:

[image: image] https://user-images.githubusercontent.com/17007549/77525193-95da2100-6ec3-11ea-8024-a6a3471764d8.png

如图,点开大图就能看清楚边缘的模糊。问题其实不是很大,但能改一下就最好了。

Windows 10 build 17763 1920×1080,缩放 150% flipclock v2.3.9

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/AlynxZhou/flipclock/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACANVRZV2INYZSXZOCZGAETRJHKENANCNFSM4LTKWCYA .

-- Alynx Zhou A Coder & Dreamer

Intern in SUSE Beijing *Student of *Beijing Jiaotong University School of Computer and Information Technology

AlynxZhou commented 4 years ago

我再补充一下,理论上 SDL 只要添加一个 HiDPI 的 flag 就可以获取真实分辨率自己处理缩放了,但似乎 Windows 上的支持有点问题,我又不想自己加一大堆 hack 进去,在 Linux 下面我打出来的尺寸是实际分辨率。

顺便其实我觉得这个影响不大,因为这个对比度很低,而且也没人贴着边缘看的,正常看屏幕我觉得看不出来……要做抗锯齿实在是太麻烦了,我懒得搞。如果不是特别影响我觉得这个 issue 可以关了……

ZeppLu commented 4 years ago

OK,只是告知一下,我实际使用也没感觉到任何不便