source-han-code-jp
source-han-code-jp copied to clipboard
Certain capital characters are rendered smaller
Problem
The capital characters C, G, O, Q, and S are rendered smaller in certain cases.
Reproduced Condition
I saw this issue in the following conditions.
| OS | Application | Font size |
|---|---|---|
| Windows 11 | VS Code 1.85.0 | 14px |
| Windows 11 | MS Word v2311 build 16.0.17029.20028 | 10.5pt |
| Windows 10 | VS Code 1.85.0 | 14px |
| Ubuntu 22.04 | VS Code 1.85.0 | 11px |
| Ubuntu 22.04 | Libra Office Writer 7.3.7.2 | 8pt |
Screenshot
This is a screenshot of VS Code on Windows 11. The font size is 14px .
The capital characters C, G, O, Q, and S are rendered smaller.
Another screenshot from MS Word.
I could not see small capital characters on Word version 2309 (build 1687.202278)
Please try several font size like : 7,8,9,10,11,12,13
I also found the problematic font size depends on the screen scaling factor like 125%, or 150%. My sample is at 100%.
I am experiencing the same issue. Can I help with anything? Please let me know if there's anything additional I should test.
Version Info
バージョン: 1.89.1 (user setup)
コミット: dc96b837cf6bb4af9cd736aa3af08cf8279f7685
日付: 2024-05-07T05:13:33.891Z
Electron: 28.2.8
ElectronBuildId: 27744544
Chromium: 120.0.6099.291
Node.js: 18.18.2
V8: 12.0.267.19-electron.0
OS: Windows_NT x64 10.0.22631
| Condition | Screenshot (Red lines added for explanation) |
|---|---|
| Font size: 14px, Screen scaling: 100% | |
| Font size: 15px, Screen scaling: 100% | |
| Font size: 14px, Screen scaling: 125% |
I am sorry for your inconvenience. I suspect that this problem depends on the PC environment. When viewed on my Windows environment (Intel MacBookPro + VM + Windows 10) for my test/review, it looks like this:
| Condition | Screenshot |
|---|---|
| VS Code 7point | |
| VS Code 8point | |
| VSCode 9point | |
| VS Code 10point | |
| VS Code 10.5point | |
| VS Code 11point | |
| VS Code 12point | |
| VS Code 13point | |
| VSCode 14point | |
| VS Code 15point | |
| Word 8-16point |
There seems to be a tendency for the capital letters pointed to appear lower in height when displayed at 7pt in VS code, but at other point sizes there seems to be not problems.
However, I cannot deny that these problems can occur, and I will check capital Latin letters height alignment configuration the next time I have the opportunity to rebuild Source Han Code JP fonts.