lollipopkit / flutter_server_box

ServerBox - server status & toolbox app using Flutter
GNU General Public License v3.0
3.65k stars 232 forks source link

Windows 11 下中文字体显示问题 #397

Open QJAG1024 opened 1 week ago

QJAG1024 commented 1 week ago

描述BUG 如题 windows11下中文字体部分错乱

复现步骤

如何复现:

  1. 打开任意界面
  2. 查看底栏
  3. 点击”服务器“项或”代码片段“项
  4. 看到错误 打开设置-SSH-主题亦能观察到明显问题

期望结果 以同一字体渲染所有中文字形

实际结果 系统字体与应用字体相冲突导致字体不统一

截图

image image image 如图,中文字体不统一

设备 联想拯救者y7000p2020(i7-10750H/GTX1650ti),16GB RAM Windows 11 专业版 24H2,Insider Preview 26120.670

更多信息 N/A

Issues-translate-bot commented 1 week ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Title: Chinese font display problem under Windows 11

DESCRIPTION BUG As title Chinese fonts are partially messed up under Windows 11

Steps to reproduce

How to reproduce:

  1. Open any interface
  2. Check the bottom bar
  3. Click the "Server" item or the "Code Snippet" item
  4. See the error Open Settings-SSH-Theme and you can also observe obvious problems.

Desired result Render all Chinese glyphs in the same font

actual results System fonts conflict with application fonts, resulting in inconsistent fonts

screenshot

image image image As shown in the picture, the Chinese fonts are not uniform

equipment Lenovo Rescuer y7000p2020 (i7-10750H/GTX1650ti), 16GB RAM Windows 11 Pro 24H2, Insider Preview 26120.670

More information N/A