kghost / qterminal

QTerminal WSL Port
GNU General Public License v2.0
74 stars 4 forks source link

Some powerline symbols do not render #2

Open mmaday opened 5 years ago

mmaday commented 5 years ago

Some powerline symbols do not render.

Expected Behavior

I'm using starship for my prompt, which leverages powerline font symbols. I'm currently using the Fira Code font.

Here's the proper display in wsltty.

wsltty

Notice that both the branch symbol before master and the python symbol before v3.6.9.

However, in qterminal, the branch symbol shows but the python symbol does not.

qterminal

Possible Solution

I'm not sure what the solution is, but I assume it's related to some encoding. Here's some tips about powerline symbols not displaying.

Steps to Reproduce (for bugs)
  1. Install QTerminal
  2. Download FIra Code font, install it, and configure QTerminal to use it
  3. Download the following file, open QTerminal, and cat the file. symbols.txt
Context
System Information
kghost commented 5 years ago

Thank you. Will check it soon.

kghost commented 4 years ago

The fire code font doesn't contains the "SNAKE" glyph, it is provided by Segoe UI Emoji font. You can try merge these font.

I'll check if it is possible to set fallback fonts to support the emojis.

mmaday commented 4 years ago

Fira Code was patched to support powerline all the way back in 0.6. I've tried other powerline fonts with the same exact results.