Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bad display of bold mathcar symbols. #11792

Closed
PhyX-Meow opened this issue Nov 20, 2021 · 5 comments
Closed

Bad display of bold mathcar symbols. #11792

PhyX-Meow opened this issue Nov 20, 2021 · 5 comments
Labels
Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.

Comments

@PhyX-Meow
Copy link

PhyX-Meow commented Nov 20, 2021

Windows Terminal version

1.11.2921.0

Windows build number

10.0.22504.0

Other Software

vim 8.2 inside wsl2/ssh.
vimtex plugin of vim.

Steps to reproduce

  1. Clone https://github.com/lervag/vimtex into ~/.vim/plugged/vimtex.
  2. vim -u minimal.vim minimal.tex.
  3. Move cursor to see conceal effect.

minimal.vim:

set nocompatible
let &runtimepath  = '~/.vim/plugged/vimtex,' . &runtimepath
let &runtimepath .= ',~/.vim/plugged/vimtex/after'
let g:tex_conceal = 'abdmg'
set conceallevel=2
filetype plugin indent on
syntax enable

minimal.tex:

\documentclass{minimal}
\begin{document}
We prove \(V\mathcal{T}_w\) is not.
We prove \(V\mathcal{T}_w\) is not.
\end{document}

Expected Behavior

image

I don't know is this actually a bug of terminal, or should you solve this, but as I tested in lervag/vimtex#2254, the bug only occur in windows terminal through ssh or in wsl2, and will not occur when using native vim or using X server. So I decided to post this issue here.

Actual Behavior

image

@ghost ghost added Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Needs-Tag-Fix Doesn't match tag requirements labels Nov 20, 2021
@PhyX-Meow
Copy link
Author

PhyX-Meow commented Nov 20, 2021

Found reason of this: Terminal has bug displaying char 𝓣 -- bold mathcal characters, and possibly the whole family. Just paste cuple of the char into terminal you'll see the bug effect. One can get a list of such symbols at https://www.wikiwand.com/en/Mathematical_Alphanumeric_Symbols

@PhyX-Meow PhyX-Meow changed the title Wrong text conceal distance in vim. Bad display of bold mathcar symbols. Nov 20, 2021
@PhyX-Meow
Copy link
Author

PhyX-Meow commented Nov 20, 2021

I use font FiraCode NF, bug same issue will occur also in Consolas, JuliaMono, Cascadia Code, etc.

@zadjii-msft
Copy link
Member

I'm sure this is some subset of #8000, but I don't know exactly which...

@zadjii-msft
Copy link
Member

Probably the #11756 bit so I'm just gonna call this a dupe. Thanks!

/dup #8000

@ghost
Copy link

ghost commented Nov 22, 2021

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 ghost closed this as completed Nov 22, 2021
@ghost ghost added Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing. and removed Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Needs-Tag-Fix Doesn't match tag requirements labels Nov 22, 2021
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.
Projects
None yet
Development

No branches or pull requests

2 participants