WindTerm icon indicating copy to clipboard operation
WindTerm copied to clipboard

The new 2.6.0 Prereleae 4 version's font is oddly compact and less suitable.

Open iujoker opened this issue 1 year ago • 18 comments

体验了[WindTerm_2.6.0_Prerelease_4]新版本,感觉终端的字体变得紧凑很多,并且高亮的字体会比普通的更加大,不太适应,还是用回旧版本吧

iujoker avatar Nov 18 '23 06:11 iujoker

可以在这里对 UI 字体大小进行调整 windterm\global\themes\dige-black\gui.theme

Nyar233 avatar Nov 20 '23 23:11 Nyar233

不是的,字体大小在设置也可以修改,但是它的间距变得很紧凑,看着很奇怪

iujoker avatar Nov 21 '23 01:11 iujoker

不是的,字体大小在设置也可以修改,但是它的间距变得很紧凑,看着很奇怪

我觉得 Pre 4 还好。个人倒是觉得之前 Pre 2 的间距过大,导致 UI 占据了过多空间

Nyar233 avatar Nov 21 '23 01:11 Nyar233

我的是4K显示器,上一个版本没这个问题的,前两天发的新版本体验了一下,看着很奇怪,不适应,还是用老版本吧

iujoker avatar Nov 21 '23 01:11 iujoker

我的是4K显示器,上一个版本没这个问题的,前两天发的新版本体验了一下,看着很奇怪,不适应,还是用老版本吧

感觉你可以试着改一下文件里的字体大小,因为设置里的字体好像只对终端生效,对 UI 是不生效的

Nyar233 avatar Nov 21 '23 01:11 Nyar233

我说的就是终端字体,不是UI,UI的我知道在配置文件修改

iujoker avatar Nov 21 '23 01:11 iujoker

我说的就是终端字体,不是UI,UI的我知道在配置文件修改

原来如此,我还以为你指的是 Windterm终端 的 UI 字体 因为,终端字体间距这部分,我用着感觉跟之前的版本没变化,设置里的字符间距我也是一直设置的自动。

Nyar233 avatar Nov 21 '23 02:11 Nyar233

如果确实是对高分辨率设备适配不佳的话,提 iss 最好加上英文,因为中文的 iss 作者可能不会看。

Nyar233 avatar Nov 21 '23 02:11 Nyar233

好的 感谢告知

iujoker avatar Nov 21 '23 02:11 iujoker

#1124 WindTerm_2.6.0_Prerelease_4 这个问题又复现了,文字和图标有锯齿感,之前提的 @kingToolbox This problem has reappeared, and the text and icons have a jagged feeling, which is the premise

leesings avatar Nov 21 '23 13:11 leesings

我在WindTerm_2.6.0_Prerelease_4 上,字体没有什么异常,我是准4k,34的显示器 image

Jonson-zhang avatar Nov 26 '23 12:11 Jonson-zhang

@iujoker I'm unable to reproduce the issue. It's very likely a resolution problem. Could you take screenshots of the display for both the new and old versions? Without a comparison, it's difficult for me to understand what happened. Thank you.

@leesings Yes, I'm aware, as I have reverted the fix from the WindTerm_2.6.0_Prerelease_2 version, which caused other display issues. Due to some known bugs in the Qt 5.15 version, this problem can only be resolved with the new Qt 6.x version. The WindTerm 3.0 or WindTerm 3.1 version will use the Qt 6.6 version. Going forward, there won't be such long waits for an official release, as I will have more development time. Therefore, we might be able to release the first WindTerm 3.x version early next year. Please be patient, thank you.

kingToolbox avatar Dec 02 '23 07:12 kingToolbox

(V2B`N47 BQ6 INUZ8U9ACM YR3)J$6BZGH~6E5QOR6~SI5

iujoker avatar Dec 02 '23 08:12 iujoker

@kingToolbox hi , This is a screenshot of me running two versions simultaneously on my computer. You can take a look. The one above is the old version, and the one below is the new version. The monitor is the same (4K, dpi is also the same), and their font model and size are the same. The displayed content is also the same. However, the font of the new version looks strange and makes people feel uncomfortable,

iujoker avatar Dec 02 '23 08:12 iujoker

I feel this may be caused by two reasons:

  • The green text on the right side in the new version is significantly larger than in the old version.

This was caused by the modification of [TERM] When drawing faint font (CSI 2m), the font color is incorrect. I will review the code to see if there are any better improvements that can be made.

  • The text spacing on the left side in the old version is more harmonious.

This was due to the modification of [GUI] Render text aligned by column, including CJK characters. This is more difficult to handle. Because if we follow the font settings, it's very challenging to align CJK characters, such as Chinese characters, especially when multiple fonts are mixed (when a character cannot be found in a certain font, the system usually automatically substitutes with a character from another font). There are already many related bug reports on this, so it's not possible to revert to the past. However, if we typeset strictly by columns, although the characters can be aligned, the spacing set during the font design will be disrupted, making the text appear uncomfortable. Perhaps appropriately widening the spacing might make it more visually comfortable.

I will continue to improve the display output, but I cannot guarantee that it will be completed in version 2.6.0, as this version has been delayed for a long time and needs to be released as soon as possible.

Additionally, if possible, please take the trouble to do the following:

First, adjust MenuBar - Session - Preferences - Settings - Text - Character spacing and Line spaceing until you feel it is most comfortable and then inform me of the adjusted values.

image

Second, please use debug mode to capture the output on the screen, so I can clearly understand the specific font settings of the text sent from the server and reconstruct the scenario. If you want, please follow the steps below:

  • Enter the directory shown in your screenshot, cd ~/ssd4T/gc2355_raw.
  • Before entering ls -l, click the menu item "Mode - Debug Mode" to enter the debug mode.
  • Input ls -l and press enter to list the files.
  • Click the menu item "Mode - Debug Mode" again to leave the debug mode.
  • Browse $(WindTermInstalledDir)/profiles/default.v10/Terminal/logs/debug, zip and upload the newly generated log file as an attachment when you comment this.
  • Done.

You can perform this in either the new or the old version, just once is sufficient, as the input for both versions is the same. Please ensure that the directory in which you execute this command is consistent with the one shown in the screenshot. Thank you very much!

Please don't worry about the content of the log file, it will only record the current command input and output, and will not record any sensitive information, including passwords, ip, computer information, etc.

The log file is in plain text format. You can use a text editor to open and review the content. If there is any information you don't want to disclose, you can delete it manually.

kingToolbox avatar Dec 02 '23 12:12 kingToolbox

@kingToolbox Sorry, I didn't find any way to adjust the line spacing and character spacing. I adjusted the former to 0.03 and the latter to 0.03, so it's similar to the old version. Here are screenshots of the adjustments I made. Thank you for informing me

iujoker avatar Dec 04 '23 06:12 iujoker

1701670453680

iujoker avatar Dec 04 '23 09:12 iujoker

Alright, I understand. I will use this data to optimize text rendering in version 2.6. Although I'm not entirely sure why adjusting the letter spacing made the right green text look much better and the font size smaller. :smile:

kingToolbox avatar Dec 05 '23 16:12 kingToolbox