question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Missing Unicode symbols (maybe Powerline symbols issue?)

See original GitHub issue

This might be related to #8, but, as the below screenshots show, I’m seeing an odd subset of symbols missing in FVim vs. terminal Neovim.

Here’s FVIM: fvim

And here’s terminal Neovim (in Kitty): correct

You’ll notice that the symbols for ALE on the sign bar aren’t rendered correctly, nor are some of the statusline symbols, nor the symbols for coc.nvim.

The relevant part of my ginit.vim is

  set guifont=Fira\ Code\ Retina:h11
  FVimFontAntialias v:true
  FVimFontAutohint v:true
  FVimFontSubpixel v:true
  FVimFontLcdRender v:true
  FVimFontHintLevel 'full'
  FVimFontAutoSnap v:true
  nnoremap <silent> <C-ScrollWheelUp> :set guifont=+<CR>
  nnoremap <silent> <C-ScrollWheelDown> :set guifont=-<CR>

my Kitty config uses the following fonts

font_family      FiraCode-Retina
bold_font        Fira Code Bold
italic_font      Roboto Mono Italic Nerd Font Complete Mono
bold_italic_font Roboto Mono Bold Italic Nerd Font Complete Mono
font_size 10.0

and I’m on Arch Linux with the latest AUR FVim and Neovim built from master 12/12/2019.

The additional difference in the FVim screenshot - the coc.nvim documentation floating window showing vs. in terminal Neovim - seems to be due to some weird interaction with FVim and coc.nvim. I sometimes see the first item selected and confirmed instantly for me in FVim whereas it is not in Neovim. This seems like a separate issue, though.

The specific symbols not rendering are:

  • 🗙, ➤ in the sign bar
  • ⏺ in the statusline at the lower left-hand corner - I suspect this might be due to a width issue, as the very similar symbol ● renders correctly slightly to the right in the statusline.
  • The following list of symbols in coc.nvim (taken from my coc-config.json):
  "suggest.completionItemKindLabels": {
    "function": "\uf794",
    "method": "\uf6a6",
    "variable": "\uf71b",
    "constant": "\uf8ff",
    "struct": "\ufb44",
    "class": "\uf0e8",
    "interface": "\ufa52",
    "text": "\ue612",
    "enum": "\uf435",
    "enumMember": "\uf02b",
    "module": "\uf668",
    "color": "\ue22b",
    "property": "\ufab6",
    "field": "\uf93d",
    "unit": "\uf475",
    "file": "\uf471",
    "value": "\uf8a3",
    "event": "\ufacd",
    "folder": "\uf115",
    "keyword": "\uf893",
    "snippet": "\uf64d",
    "operator": "\uf915",
    "reference": "\uf87a",
    "typeParameter": "\uf278",
    "default": "\uf29c"
  }

I’m happy to perform more debugging/supply more information to help, but I’m not quite sure what to check next. Please let me know how I can help with this issue! Thanks!

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:1
  • Comments:13 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
yatlicommented, Nov 24, 2020
1reaction
acomagucommented, Jun 4, 2022

Hi, I’m encountering similar issue. FVim can’t render .

image

Similar to #8 situation, neovim-qt can render the character correctly with same guifont setting.

My guifont: set guifont=Source\ Code\ Pro

--wsl option enabled.

Changing FVimNoBuiltinSymbols didn’t help.

Thank you for your effort!

Read more comments on GitHub >

github_iconTop Results From Across the Web

r/vim - What is besides vim and utf-8 and how do I fix it? ...
edit: problem is, the lacking symbols (powerline) are not defined in Unicode. Instead, powerline makes use of the "private use area" of ...
Read more >
How do I fix the status bar symbols in the Airline plugin?
For the nice looking powerline symbols to appear, you will need to install a patched font. Instructions can be found in the official...
Read more >
Why are unicode characters not rendering correctly
I'm running urxvt under xfce on arch linux. I'm using DejaVu Sans Mono for Powerline font, specified via .Xresources line: URxvt*font: xft: ...
Read more >
Oh-my-posh themes not working correctly with Powerline ...
The fonts I use are Powerline fonts, there is a great repository ... remap the icons to the correct unicode locations in your...
Read more >
Not seeing some unicode characters
I am trying to resolve this issue but not being able to figure it out. I like using Vivaldi as my primary browser...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found