WT believes Noto Sans Mono CJK is not a Mono font #22044

Closed
opened 2026-01-31 08:01:49 +00:00 by claunia · 1 comment
Owner

Originally created by @Andarwinux on GitHub (Aug 3, 2024).

Windows Terminal version

1.22.2151.0

Windows build number

26120.1330

Other Software

https://github.com/notofonts/noto-cjk/blob/main/Sans/Variable/OTC/NotoSansMonoCJK-VF.otf.ttc

Steps to reproduce

image

Expected Behavior

No response

Actual Behavior

image

Originally created by @Andarwinux on GitHub (Aug 3, 2024). ### Windows Terminal version 1.22.2151.0 ### Windows build number 26120.1330 ### Other Software https://github.com/notofonts/noto-cjk/blob/main/Sans/Variable/OTC/NotoSansMonoCJK-VF.otf.ttc ### Steps to reproduce ![image](https://github.com/user-attachments/assets/90b5e485-865a-40ed-a284-da7f830e8dd1) ### Expected Behavior _No response_ ### Actual Behavior ![image](https://github.com/user-attachments/assets/4a9c3a35-3b85-4339-98f7-3083fc717642)
claunia added the Needs-TriageIssue-Bug labels 2026-01-31 08:01:49 +00:00
Author
Owner

@DHowett commented on GitHub (Aug 3, 2024):

Thanks for filing!

Yes, this is true.

Windows DirectWrite does not consider this font to be monospaced because the PANOSE values specify that it is an "Any" proportion font for Text Display purposes.

The PANOSE bProportion value is 0 instead of 9.

In addition, the postscript table specifies isFixedPitch to be 0.

In short, the font's built-in metadata says it is proportional.

It is probably because it contains multiple character widths. This is common (but not required) for CJK fonts.

@DHowett commented on GitHub (Aug 3, 2024): Thanks for filing! Yes, this is true. Windows DirectWrite does not consider this font to be monospaced because the PANOSE values specify that it is an "Any" proportion font for Text Display purposes. The PANOSE bProportion value is 0 instead of 9. In addition, the postscript table specifies `isFixedPitch` to be `0`. In short, the font's built-in metadata says it is proportional. It is probably because it contains multiple character widths. This is common (but not required) for CJK fonts.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#22044