Bad display of bold mathcar symbols. #15932

Closed
opened 2026-01-31 04:52:31 +00:00 by claunia · 5 comments
Owner

Originally created by @PhyX-Meow on GitHub (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 https://github.com/lervag/vimtex/issues/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

Originally created by @PhyX-Meow on GitHub (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`. 4. 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](https://user-images.githubusercontent.com/998898/142728502-164cc0d4-28c7-4b34-83da-5ef0eb3043cc.png) I don't know is this actually a bug of terminal, or should you solve this, but as I tested in https://github.com/lervag/vimtex/issues/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](https://user-images.githubusercontent.com/17513581/142723869-b834a39a-3051-4f7b-ad23-f51c1d717b1b.png)
claunia added the Resolution-Duplicate label 2026-01-31 04:52:31 +00:00
Author
Owner

@PhyX-Meow commented on GitHub (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 commented on GitHub (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
Author
Owner

@PhyX-Meow commented on GitHub (Nov 20, 2021):

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

@PhyX-Meow commented on GitHub (Nov 20, 2021): I use font FiraCode NF, bug same issue will occur also in Consolas, JuliaMono, Cascadia Code, etc.
Author
Owner

@zadjii-msft commented on GitHub (Nov 22, 2021):

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

@zadjii-msft commented on GitHub (Nov 22, 2021): I'm sure this is some subset of #8000, but I don't know exactly which...
Author
Owner

@zadjii-msft commented on GitHub (Nov 22, 2021):

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

/dup #8000

@zadjii-msft commented on GitHub (Nov 22, 2021): Probably the #11756 bit so I'm just gonna call this a dupe. Thanks! /dup #8000
Author
Owner

@ghost commented on GitHub (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 commented on GitHub (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!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#15932