[GH-ISSUE #798] font error #460

Closed
opened 2026-02-26 23:59:37 +03:00 by kerem · 6 comments
Owner

Originally created by @blue-bird1 on GitHub (Oct 12, 2018).
Original GitHub issue: https://github.com/electerm/electerm/issues/798

Electerm version:

2.4.33

Operating system(linux, macos, or windows?):

windows

Expected Behavior

Current Behavior

Possible Solution

try in server and client install powerline-fonts and change electerm font to Go Mono for Powerline,but not can solv.

Steps to Reproduce

1.install oh-my-fish
2.install agnoster theme

Context (Environment)

fish, version 2.2.0
electerm font setting Go Mono for Powerline, courier-new, courier, monospace

/root/.local/share/fonts/
├── DejaVu Sans Mono Bold for Powerline.ttf
├── DejaVu Sans Mono Bold Oblique for Powerline.ttf
├── DejaVu Sans Mono for Powerline.ttf
├── DejaVu Sans Mono Oblique for Powerline.ttf
├── devicons.ttf
├── DroidSansMonoForPowerlinePlusNerdFileTypesMono.otf
├── fonts.dir
├── fonts.scale
├── mtextra.ttf
├── symbol.ttf
├── Ubuntu Mono derivative Powerline Nerd Font Complete.ttf
├── WEBDINGS.TTF
├── wingding.ttf
├── WINGDNG2.ttf
└── WINGDNG3.ttf

/root/.config/fontconfig/conf.d
└── 10-powerline-symbols.conf

Detailed Description

This is a font issue, I tried to install the font on the server, but it didn't work. If this is a problem with my system installing fonts, please let me know.
I run command

apt-get install fonts-powerline
git clone https://github.com/powerline/fonts
cd fonts && ./install.sh
wget https://github.com/powerline/powerline/raw/develop/font/10-powerline-symbols.conf
mkdir ~/.config/fontconfig/conf.d
mv 10-powerline-symbols.conf ~/.config/fontconfig/conf.d/
fc-cache -vf ~/.local/share/fonts/

Suggestions?

Originally created by @blue-bird1 on GitHub (Oct 12, 2018). Original GitHub issue: https://github.com/electerm/electerm/issues/798 <!--- Provide some basic info --> ## Electerm version: 2.4.33 ## Operating system(linux, macos, or windows?): windows ## Expected Behavior <!--- Tell me what should happen --> ![](https://gist.githubusercontent.com/agnoster/3712874/raw/characters.png) ## Current Behavior <!--- Tell me what happens instead of the expected behavior --> ![](http://wx1.sinaimg.cn/mw690/0060lm7Tly1fw63kuxz1tj30af00w3yb.jpg) ## Possible Solution <!--- Not obligatory, but suggest a fix/reason for the bug, --> try in server and client install [powerline-fonts](https://github.com/Lokaltog/powerline-fonts) and change electerm font to `Go Mono for Powerline`,but not can solv. ## Steps to Reproduce <!--- Provide a link to a live example, or an unambiguous set of steps to --> <!--- reproduce this bug. Include code to reproduce, if relevant --> 1.install oh-my-fish 2.install agnoster theme ## Context (Environment) <!--- How has this issue affected you? What are you trying to accomplish? --> <!--- Providing context helps us come up with a solution that is most useful in the real world --> fish, version 2.2.0 electerm font setting `Go Mono for Powerline, courier-new, courier, monospace` ``` /root/.local/share/fonts/ ├── DejaVu Sans Mono Bold for Powerline.ttf ├── DejaVu Sans Mono Bold Oblique for Powerline.ttf ├── DejaVu Sans Mono for Powerline.ttf ├── DejaVu Sans Mono Oblique for Powerline.ttf ├── devicons.ttf ├── DroidSansMonoForPowerlinePlusNerdFileTypesMono.otf ├── fonts.dir ├── fonts.scale ├── mtextra.ttf ├── symbol.ttf ├── Ubuntu Mono derivative Powerline Nerd Font Complete.ttf ├── WEBDINGS.TTF ├── wingding.ttf ├── WINGDNG2.ttf └── WINGDNG3.ttf /root/.config/fontconfig/conf.d └── 10-powerline-symbols.conf ``` ## Detailed Description <!--- Provide a detailed description of the change or addition you are proposing --> This is a font issue, I tried to install the font on the server, but it didn't work. If this is a problem with my system installing fonts, please let me know. I run command ``` apt-get install fonts-powerline git clone https://github.com/powerline/fonts cd fonts && ./install.sh wget https://github.com/powerline/powerline/raw/develop/font/10-powerline-symbols.conf mkdir ~/.config/fontconfig/conf.d mv 10-powerline-symbols.conf ~/.config/fontconfig/conf.d/ fc-cache -vf ~/.local/share/fonts/ ``` ## Suggestions? <!--- Not a bug report, just some thoughts or suggestions? It is totally OK and welcome too -->
kerem closed this issue 2026-02-26 23:59:37 +03:00
Author
Owner

@zxdong262 commented on GitHub (Oct 13, 2018):

Hi, @blue-bird1
Font should be install in electerm's current OS(in your case, your windows os)

<!-- gh-comment-id:429512926 --> @zxdong262 commented on GitHub (Oct 13, 2018): Hi, @blue-bird1 Font should be install in electerm's current OS(in your case, your windows os)
Author
Owner

@blue-bird1 commented on GitHub (Oct 13, 2018):

I in windows os Downloaded font,but I I found that the font seems to only work in my powershell

linux

windows

<!-- gh-comment-id:429514230 --> @blue-bird1 commented on GitHub (Oct 13, 2018): I in windows os Downloaded font,but I I found that the font seems to only work in my powershell linux ![](http://wx3.sinaimg.cn/mw690/0060lm7Tly1fw6k35exfvj307g01ca9u.jpg) windows ![](http://wx2.sinaimg.cn/mw690/0060lm7Tly1fw6k4a91p8j306l00tgld.jpg)
Author
Owner

@zxdong262 commented on GitHub (Oct 13, 2018):

What is the linux image about? @blue-bird1

<!-- gh-comment-id:429515773 --> @zxdong262 commented on GitHub (Oct 13, 2018): What is the linux image about? @blue-bird1
Author
Owner

@zxdong262 commented on GitHub (Oct 13, 2018):

If use other terminal like xshell, will it works right?

<!-- gh-comment-id:429515866 --> @zxdong262 commented on GitHub (Oct 13, 2018): If use other terminal like xshell, will it works right?
Author
Owner

@blue-bird1 commented on GitHub (Oct 13, 2018):

putty

font Droid Sans Mono for Powerline.I found that the font settings don't seem to take effect in remote ssh

<!-- gh-comment-id:429540242 --> @blue-bird1 commented on GitHub (Oct 13, 2018): putty ![](http://wx2.sinaimg.cn/mw690/0060lm7Tly1fw6wbon1wpj306y015jr5.jpg) font `Droid Sans Mono for Powerline`.I found that the font settings don't seem to take effect in remote ssh
Author
Owner

@zxdong262 commented on GitHub (Oct 14, 2018):

try print u'\ue0b0'.encode('utf8')

<!-- gh-comment-id:429600406 --> @zxdong262 commented on GitHub (Oct 14, 2018): try `print u'\ue0b0'.encode('utf8')`
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/electerm#460
No description provided.