(Not Bug) How to make the width of " "(space) consistent with other font glyphs when toggle fake bold. #16487

Closed
opened 2026-01-31 05:13:35 +00:00 by claunia · 4 comments
Owner

Originally created by @clzoc on GitHub (Jan 24, 2022).

My favorite monospace font is published wih only the "Light" fontweight. Therefore, i set the value of fontweight as "bold" in settings.json to get more attractive display performance. However, it active the fake bold function, the width of characters are stretched to larger except the " "(space). The inconsistency between these characters disturb my neovim display. As far as i know, the directwrite(direct2d) based text render engine is responsible for the phenomenon. I suppose that stretch the width of " "(space) will solve this problem. Would you mind tell me how can i do that. Thanks for your patience and kindness.

Originally created by @clzoc on GitHub (Jan 24, 2022). My favorite monospace font is published wih only the "Light" fontweight. Therefore, i set the value of fontweight as "bold" in settings.json to get more attractive display performance. However, it active the fake bold function, the width of characters are stretched to larger except the " "(space). The inconsistency between these characters disturb my neovim display. As far as i know, the directwrite(direct2d) based text render engine is responsible for the phenomenon. I suppose that stretch the width of " "(space) will solve this problem. Would you mind tell me how can i do that. Thanks for your patience and kindness.
claunia added the Resolution-Duplicate label 2026-01-31 05:13:35 +00:00
Author
Owner

@zadjii-msft commented on GitHub (Jan 25, 2022):

Sorry, could you help clear one thing up? By

The inconsistency between these characters disturb my neovim display

Do you mean something like #10678, where the "bold" text ends up getting cut off?

@zadjii-msft commented on GitHub (Jan 25, 2022): Sorry, could you help clear one thing up? By > The inconsistency between these characters disturb my neovim display Do you mean something like #10678, where the "bold" text ends up getting cut off?
Author
Owner

@clzoc commented on GitHub (Jan 25, 2022):

Do you mean something like #10678, where the "bold" text ends up getting cut off?

Yes, you are right. I am sorry to my ambiguous description. Fortunately, you are so professional to understand it. Besides, my neovim behavior is just like https://github.com/microsoft/terminal/issues/9381#issuecomment-1004445152 after changing the value of fontweight as "bold" in settings.json.

@clzoc commented on GitHub (Jan 25, 2022): > Do you mean something like #10678, where the "bold" text ends up getting cut off? Yes, you are right. I am sorry to my ambiguous description. Fortunately, you are so professional to understand it. Besides, my neovim behavior is just like [https://github.com/microsoft/terminal/issues/9381#issuecomment-1004445152](url) after changing the value of fontweight as "bold" in settings.json.
Author
Owner

@zadjii-msft commented on GitHub (Jan 25, 2022):

No worries, I see a bunch of these every week so you learn to read between the lines 😅

I'm gonna mark this as a /duplicate of #10678 for tracking purposes. Thanks for confirming!

@zadjii-msft commented on GitHub (Jan 25, 2022): No worries, I see a bunch of these every week so you learn to read between the lines 😅 I'm gonna mark this as a /duplicate of #10678 for tracking purposes. Thanks for confirming!
Author
Owner

@ghost commented on GitHub (Jan 25, 2022):

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@ghost commented on GitHub (Jan 25, 2022): Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#16487