-
Notifications
You must be signed in to change notification settings - Fork 64
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
Icons are not rendering properly #103
Comments
Hi, @athulvis Thank you for using Fancygit. Are you facing that problem whatever the Fancygit font you use? |
Yeah.. I tried with the different fonts mentioned in the documentation. but the icons doesn't appear. |
Hi @athulvis , I'm facing the same problem. Have found a solution? |
@tmarcokr No.. its still same for me |
I have the same problem not only with konsole, but also with vscode. Everything works fine in Kitty terminal |
Hi guys. Hope you're all doing good. This is an issue when using Fancygit on KDE, unfortunately. |
Maybe a possible workaround would be overriding the default values by using: https://github.com/diogocavilha/fancy-git#gear-advanced-tweaking---override-some-default-config-values |
Same issue with mac terminal and iterm (and vscode). I was able to override defaults and get most of the icons to load. But would have been good for it to work without the overrides. The first icon still does not load and your documentation does not specify the override variable for it. Also very cumbersome to find the icon from the font and update the environment variables. Can you comment on why the icons may not be loading? I am using the Jetbrains mono nerd medium font. |
same issue in wsl |
OK in the end found There are some rather nice ones on Nerd Font with PowerLine glyphs (e.g Caskaydia Cove Nerd Font from https://github.com/ryanoasis/nerd-fonts/releases/download/v2.1.0/CascadiaCode.zip) - is there any way of supporting these options @diogocavilha? Would be great to have a broader range of fonts to pick from :) |
The issue is related to the terminal emulator capability to render the emoji in the fancygit recommended fonts. I have tries several terminal enumlaters, the find 'lxterminal' shows the icons without any problem. TL; DR $ sudo apt install lxterminal
$ lxterm& Then go to Edit - Preferences menu of lxterminal window,
Cheers!! |
Thanks @hongsoog - however I'm using Windows Terminal for an SSH connection to a virtual server, it looks like your suggestion is for running on a local machine (apologies if misunderstood). |
@EDIflyer It's a bit tricky. I've already tried many other nerd fonts but they have not the same compatibility when it comes to icon rendering. That's why I've implemented the possibility of changing icons by exporting new values with environment variables. It's hard to pick up many fonts and having the same character working for them in terminal. I'd have to check which font is being used in order to know the set of icons that work properly for that. But this approach would slow down the terminal iterativity even more :( |
@hongsoog thank you so much for that solution! |
OK, thanks @diogocavilha - I can totally appreciate the difficulties in supporting multiple fonts I'll perhaps try something different then as for normal font usage I much prefer the Caskaydia Cove and similar - the ones that work don't render quite a nicely for text for me. As mentioned @hongsoog's suggestion only works if running on a local Linux machine, whereas as I'm SSHing in from Windows Terminal. Cheers :) |
The same issue on the default Ubuntu 22.04 terminal. I tried all the suggested fonts but not a single one displays all the icons. EDIT: it worked with the SourceCodePro font set up system-wide. |
Hi, @harnen. Nor even the SourceCodePro font worked? |
Ha, I've just reinstalled the SourceCodePro font and set it system-wide (it doesn't show in the terminal) and it worked. I might have done something incorrectly before... Anyway, thanks a lot! |
Oh, that's great! 😃 |
I faced the same issue with icons not showing correctly (Debian 11, bash - KDE terminal Version 20.12.3). |
Hello, Could you please give us access to the original icons that you are using ? Also as an improvement idea, maybe you could regroup all icons in one file and import them where necessary. |
For wsl users:
|
this! |
Had the same issue running in iTerm2 on macOS ventura. Same solution, use the linked SourceCodePro-Powerline-Awesome-Regular font mentioned in previous comments. |
For anyone still having this Problem on MacOS:
brew install --cask fontforge
printf '%X\n' "'<copy-paste-icon-here>" (Note the
|
I opened a Pull-Request to add the missing icons into all Font-files (see #152) |
Fancy git is a cool project. Anyway when I installed in in Debain Testing, the icons are not rendering properly
It looks as shown in the screenshot:
Font:
SauceCodePro NF 10pt
Konsole version:
konsole 21.08.2
Any help is appreciated.
Thanks and regards,
Athul
The text was updated successfully, but these errors were encountered: