source-han-code-jp icon indicating copy to clipboard operation
source-han-code-jp copied to clipboard

Certain capital characters are rendered smaller

Open suikan4github opened this issue 1 year ago • 4 comments

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.

image

Another screenshot from MS Word.

image

suikan4github avatar Dec 09 '23 07:12 suikan4github

I could not see small capital characters on Word version 2309 (build 1687.202278)

ss2023-12-11 13 52 08

hatchzo avatar Dec 11 '23 04:12 hatchzo

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%.

suikan4github avatar Dec 12 '23 09:12 suikan4github

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% image
Font size: 15px, Screen scaling: 100% image
Font size: 14px, Screen scaling: 125% image

u1f992 avatar May 22 '24 01:05 u1f992

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 SS-7p
VS Code 8point SS-8p
VSCode 9point SS-9p
VS Code 10point SS-10p
VS Code 10.5point SS-10 5
VS Code 11point SS-11p
VS Code 12point SS-12p
VS Code 13point SS-13p
VSCode 14point SS-14p
VS Code 15point SS-15p
Word 8-16point SS-word

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.

hatchzo avatar May 23 '24 06:05 hatchzo