qterminal icon indicating copy to clipboard operation
qterminal copied to clipboard

Some powerline symbols do not render

Open mmaday opened this issue 5 years ago • 3 comments

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
  • Package version: QTerminal 0.14.1-wsl.1 - https://github.com/kghost/qterminal/releases/download/0.14.1-wsl.1/QTerminal.X64.zip

mmaday avatar Nov 17 '19 07:11 mmaday

Thank you. Will check it soon.

kghost avatar Nov 18 '19 02:11 kghost

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.

kghost avatar Nov 21 '19 03:11 kghost

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.

mmaday avatar Nov 23 '19 21:11 mmaday