Skip to content

Bold text being rendered with wrong width #17102

Closed

Description

@ElectrifyPro

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

Activity

  1. added
    Issue-BugIt either shouldn't be doing this or needs an investigation.
    Needs-TriageIt's a new issue that the core contributor team needs to triage at the next triage meeting
    on Apr 22, 2024
  2. github-actions commented on Apr 22, 2024

    @github-actions

    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.

  3. lhecker commented on Apr 22, 2024

    @lhecker
    Member

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

  4. ElectrifyPro commented on Apr 22, 2024

    @ElectrifyPro
    Author

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

  5. added
    Needs-AttentionThe core contributors need to come back around and look at this ASAP.
    and removed
    Needs-Author-FeedbackThe original author of the issue/PR needs to come back and respond to something
    on Apr 22, 2024
  6. lhecker commented on Apr 22, 2024

    @lhecker
    Member

    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?

  7. added
    Needs-Author-FeedbackThe original author of the issue/PR needs to come back and respond to something
    and removed
    Needs-AttentionThe core contributors need to come back around and look at this ASAP.
    on Apr 22, 2024
  8. ElectrifyPro commented on Apr 22, 2024

    @ElectrifyPro
    Author

    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!

  9. added
    Needs-AttentionThe core contributors need to come back around and look at this ASAP.
    and removed
    Needs-Author-FeedbackThe original author of the issue/PR needs to come back and respond to something
    on Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-BugIt either shouldn't be doing this or needs an investigation.Needs-AttentionThe core contributors need to come back around and look at this ASAP.Needs-TriageIt's a new issue that the core contributor team needs to triage at the next triage meeting

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions