[GH-ISSUE #1990] 设置页面-默认字体选项-名称显示乱码&&逻辑异常 #1205

Open
opened 2026-02-27 00:02:37 +03:00 by kerem · 2 comments
Owner

Originally created by @seyoatda on GitHub (Dec 25, 2020).
Original GitHub issue: https://github.com/electerm/electerm/issues/1990

Electerm version:

1.10.14

Operating system(linux, macos, or windows7/8/10?):

win10

Expected Behavior

有一部分字体名称乱码。并且有无法显示中文字体

Can you reproduce the same behavior in other terminal:

no

Current Behavior

目前情况:英文字体排在最前面,乱码字体排在后面。
打开设置页面,找到默认字体设置,打开下拉框,拉到有乱码的字体名处:
1:如果下拉直到下拉框中显示的全部都是乱码字体,再往上拉,上面正常的英文字体被乱码字体覆盖。
2:如果下拉到刚好在英文字体和乱码字体的交界处,往上拉,乱码字体会始终排在当前下拉框最上方的位置。

Possible Solution

怀疑是字体排序出现问题。
建议把对中文字体显示的支持也加上。

Steps to Reproduce

Context (Environment)

Detailed Description

Suggestions?

Originally created by @seyoatda on GitHub (Dec 25, 2020). Original GitHub issue: https://github.com/electerm/electerm/issues/1990 <!--- Provide some basic info --> ## Electerm version: 1.10.14 ## Operating system(linux, macos, or windows7/8/10?): win10 ## Expected Behavior <!--- Tell me what should happen --> 有一部分字体名称乱码。并且有无法显示中文字体 ## Can you reproduce the same behavior in other terminal: <!--- If same bahavior happens in other terminal, maybe it is supposed to be like this or not a problem of terminal app --> no ## Current Behavior <!--- Tell me what happens instead of the expected behavior --> 目前情况:英文字体排在最前面,乱码字体排在后面。 打开设置页面,找到默认字体设置,打开下拉框,拉到有乱码的字体名处: 1:如果下拉直到下拉框中显示的全部都是乱码字体,再往上拉,上面正常的英文字体被乱码字体覆盖。 2:如果下拉到刚好在英文字体和乱码字体的交界处,往上拉,乱码字体会始终排在当前下拉框最上方的位置。 ## Possible Solution <!--- Not obligatory, but suggest a fix/reason for the bug, --> 怀疑是字体排序出现问题。 建议把对中文字体显示的支持也加上。 ## Steps to Reproduce <!--- Provide a link to a live example, or an unambiguous set of steps to --> <!--- reproduce this bug. Include code to reproduce, if relevant --> 1. 2. 3. 4. ## Context (Environment) <!--- How has this issue affected you? What are you trying to accomplish? --> <!--- Providing context helps us come up with a solution that is most useful in the real world --> ## Detailed Description <!--- Provide a detailed description of the change or addition you are proposing --> ## Suggestions? <!--- Not a bug report, just some thoughts or suggestions? It is totally OK and welcome too -->
Author
Owner

@zxdong262 commented on GitHub (Dec 25, 2020):

你安装过什么额外的字体吗?我试试

<!-- gh-comment-id:751263456 --> @zxdong262 commented on GitHub (Dec 25, 2020): 你安装过什么额外的字体吗?我试试
Author
Owner

@seyoatda commented on GitHub (Feb 20, 2021):

你安装过什么额外的字体吗?我试试

装了「未来荧黑」以及一些其他的中文字体。最新版本 1.11.13-win-x64 并没有解决这个问题:
附图:https://i.bmp.ovh/imgs/2021/02/8bd90aaf1575c602.png

image

<!-- gh-comment-id:782597955 --> @seyoatda commented on GitHub (Feb 20, 2021): > 你安装过什么额外的字体吗?我试试 装了「未来荧黑」以及一些其他的中文字体。最新版本 1.11.13-win-x64 并没有解决这个问题: 附图:https://i.bmp.ovh/imgs/2021/02/8bd90aaf1575c602.png ![image](https://user-images.githubusercontent.com/24985838/108591570-61f1cf00-73a4-11eb-803a-ff6b281d21e4.png)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/electerm#1205
No description provided.