QQxiaoming / quardCRT

Your All-in-One Tool for Terminal Emulation and Remote Desktop
https://quardcrt.rtfd.io
GNU General Public License v3.0
58 stars 5 forks source link

Collection of special character rendering errors #33

Open QQxiaoming opened 5 months ago

QQxiaoming commented 5 months ago

Hi, everyone! When we use terminals daily, we often find that some special characters render incorrectly on common fonts. This situation widely exists in various common terminals on various platforms, for example:

image

This is the display effect of these four characters on the terminal that comes with vscode under linux. In fact, not only on this specific platform/terminal/font, these four characters also have more or less errors in many cases (of course, some platforms can render them correctly).

The reason is that the values obtained for these glyphs through font_width or unicode_width are not completely accurate. The vision of the quadCRT terminal software is to create a product that supports all unicode characters as perfectly as possible, targeting multilingual users worldwide. The current code has also been specially processed for these special characters, with the following effects:

image

Therefore, we would like to solicit such abnormal characters for a long time. If you encounter such situations during the development process, please let me know. Thank you for your support!

QQxiaoming commented 5 months ago
left center right
L'’' U+2019 L'×' U+00D7 L'‘' U+2018
L'”' U+201D L'÷' U+00F7 L'“' U+201C
L'‖' U+2016 L'‚' U+201A
L'‛' U+201B