Bold text being rendered with wrong width #21557

Closed
opened 2026-01-31 07:48:05 +00:00 by claunia · 5 comments
Owner

Originally created by @ElectrifyPro on GitHub (Apr 22, 2024).

Windows Terminal version

1.20.10822.0

Windows build number

Microsoft Windows [Version 10.0.19045.4170]

Other Software

LunarVim 1.3.0
NVIM v0.9.4
Build type: Release
LuaJIT 2.1.1692716794

Ubuntu > Apperance:
Font face: CaskaydiaMono Nerd Font Mono
Font size: 16
Line height: 1.2
Font weight: Normal

Steps to reproduce

Try running in the shell:

$ printf "\e[1mpressure map pressure map pressure map pressure map\e[0;7mDarn\e[m\n"

or:

$ printf "\e[1m|----------------------|-------------------|\e[0;7mDarn\e[m\n"

The bold text is rendered too wide and gets cut off (see actual behavior). I tried to search similar issues and they all seem to have been fixed by #14959, but I'm still experiencing the problem.

Expected Behavior

The bold characters should all take up the same space.

Actual Behavior

image

Mis-aligned Markdown table:

image

Originally created by @ElectrifyPro on GitHub (Apr 22, 2024). ### Windows Terminal version 1.20.10822.0 ### Windows build number Microsoft Windows [Version 10.0.19045.4170] ### Other Software LunarVim 1.3.0 NVIM v0.9.4 Build type: Release LuaJIT 2.1.1692716794 Ubuntu > Apperance: Font face: CaskaydiaMono Nerd Font Mono Font size: 16 Line height: 1.2 Font weight: Normal ### Steps to reproduce Try running in the shell: ``` $ printf "\e[1mpressure map pressure map pressure map pressure map\e[0;7mDarn\e[m\n" ``` or: ``` $ printf "\e[1m|----------------------|-------------------|\e[0;7mDarn\e[m\n" ``` The bold text is rendered too wide and gets cut off (see actual behavior). I tried to search similar issues and they all seem to have been fixed by #14959, but I'm still experiencing the problem. ### Expected Behavior The bold characters should all take up the same space. ### Actual Behavior ![image](https://github.com/microsoft/terminal/assets/1387522/6e7ab278-2a34-4426-b24f-3b215c29f0fc) Mis-aligned Markdown table: ![image](https://github.com/microsoft/terminal/assets/1387522/2a410d44-e0f1-48b3-ade6-ee4378366c2c)
claunia added the Needs-TriageIssue-BugNeeds-Attention labels 2026-01-31 07:48:06 +00:00
Author
Owner

@github-actions[bot] commented on GitHub (Apr 22, 2024):

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

@github-actions[bot] commented on GitHub (Apr 22, 2024): Hi I'm an AI powered bot that finds similar issues based off the issue title. Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you! ### Closed similar issues: - [Some glyphs in Nerd Fonts are rendered with wrong widths (#11769)](https://github.com/microsoft/terminal/issues/11769), similarity score: 0.77 - [Git Bash bold in One Half Light runs text together (#16168)](https://github.com/microsoft/terminal/issues/16168), similarity score: 0.76 - [Bold text appears wider than regular text when using the Light and SemiLight variants (#16609)](https://github.com/microsoft/terminal/issues/16609), similarity score: 0.76 > Note: You can give me feedback by thumbs upping or thumbs downing this comment.
Author
Owner

@lhecker commented on GitHub (Apr 22, 2024):

Did you disable AtlasEngine in the Rendering settings? That can cause this issue.
If you did: Can you tell us why you disabled it?

@lhecker commented on GitHub (Apr 22, 2024): Did you disable `AtlasEngine` in the `Rendering` settings? That can cause this issue. If you did: Can you tell us why you disabled it?
Author
Owner

@ElectrifyPro commented on GitHub (Apr 22, 2024):

I have not disabled AtlasEngine (it is enabled). Unfortunately, the issue still occurs for me.

@ElectrifyPro commented on GitHub (Apr 22, 2024): I have not disabled `AtlasEngine` (it is enabled). Unfortunately, the issue still occurs for me.
Author
Owner

@lhecker commented on GitHub (Apr 22, 2024):

The above is a very typical behavior for the old text renderer, which is why I've been assuming that. Is it possible that you accidentally have it disabled for one of your profiles? You can check it if you open your settings.json file (Ctrl+Shift+,) and search for "useAtlasEngine". You can delete any mention of it in the file.
If that doesn't resolve your issue, can you please post your settings.json file here?

@lhecker commented on GitHub (Apr 22, 2024): The above is a very typical behavior for the old text renderer, which is why I've been assuming that. Is it possible that you accidentally have it disabled for one of your profiles? You can check it if you open your settings.json file (Ctrl+Shift+,) and search for "useAtlasEngine". You can delete any mention of it in the file. If that doesn't resolve your issue, can you please post your settings.json file here?
Author
Owner

@ElectrifyPro commented on GitHub (Apr 23, 2024):

Is it possible that you accidentally have it disabled for one of your profiles?

That's exactly it 😅 , I had it enabled in the Rendering tab but I didn't realize each profile had it's own useAtlasEngine option! Thanks for your help!

@ElectrifyPro commented on GitHub (Apr 23, 2024): > Is it possible that you accidentally have it disabled for one of your profiles? That's exactly it 😅 , I had it enabled in the Rendering tab but I didn't realize each profile had it's own `useAtlasEngine` option! Thanks for your help!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#21557