jonz94 / Sarasa-Gothic-Nerd-Fonts

Nerd fonts patched Sarasa Gothic font.
MIT License
206 stars 10 forks source link

CJK characters alignment issue in some applications #1

Closed jonz94 closed 2 years ago

jonz94 commented 2 years ago

In a normal situation, the width of a single CJK character of Sarasa Gothic (mono/fixed variants) is perfectly 2 times of the width of a single Latin character.

But in some applications, the width of a single CJK characters is about 3~4 times of the width of a single Latin character, which cause the alignment issue.

Screenshots of the application which has no issue

neovim

Screenshots of the application which has the alignment issue

jetbrains-idea-before

notepad-before

notepadplusplus-before

jonz94 commented 2 years ago

Some related issues:

jonz94 commented 2 years ago

After https://github.com/jonz94/Sarasa-Gothic-Nerd-Fonts/commit/145000bf0a64ae0bf17b99e483fb40e414ef6cad the issue should be resolved!

jetbrains-idea-after

notepad-after

notepadplusplus-after

jonz94 commented 2 years ago

Closed by https://github.com/jonz94/Sarasa-Gothic-Nerd-Fonts/commit/145000bf0a64ae0bf17b99e483fb40e414ef6cad

asmwarrior commented 1 year ago

Your release solved my same issue, thanks!