You are not logged in.

#1 2019-06-05 23:22:31

velvetmist
Member
Registered: 2019-06-05
Posts: 11

[SOLVED] Issue with ttf-symbola

So I installed the package ttf-symbola, but I still seen the emojis as empty squares. What am i doing wrong?
This is how I installed it:

git clone https://aur.archlinux.org/ttf-symbola.git
cd ttf-symbola
makepkg -si

Btw, I compiled AUR packages in ~/.local/var/cache/pacman/pkg
I also installed ttf-emojione-color. Then I made a ~/.config/fontconfig/fonts.conf file, and added this to it:

  <!-- This sets Symbola as the final fallback font for the monospace font family. -->
  <match target="pattern">
        <test name="family"><string>monospace</string></test>
        <edit name="family" mode="append"><string>Symbola</string></edit>
</match> 

At last, I copied Symbola.ttf, Symbola_Hinted.ttf and EmojiOneColor-SVGinOT.ttf to /usr/share/fonts/myfonts/.
Furthermore, I thought that maybe I couldn't see it because of my editor (i use vim) so i add the following lines to my ~/.vimrc file:

set enc=utf-8
set fileencoding=utf-8

But it still not working. Thanks for reading.

Last edited by velvetmist (2019-06-07 12:30:29)

Offline

#2 2019-06-05 23:32:45

Ucak
Member
Registered: 2019-05-13
Posts: 3

Re: [SOLVED] Issue with ttf-symbola

Which terminal are you using? Were you able to see the symbols before changing font?

Offline

#3 2019-06-05 23:40:56

velvetmist
Member
Registered: 2019-06-05
Posts: 11

Re: [SOLVED] Issue with ttf-symbola

>Which terminal are you using?
urxvt
>Were you able to see the symbols before changing font?
I wasn't able, that's why i installed ttf-symbola in the first place.

Offline

#4 2019-06-05 23:43:12

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] Issue with ttf-symbola

Post your Xresources.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2019-06-05 23:43:42

Ucak
Member
Registered: 2019-05-13
Posts: 3

Re: [SOLVED] Issue with ttf-symbola

As far as i know, urxvt doesnt support emojis and powerline symbols. I did the switch to st because of that

Offline

#6 2019-06-06 00:00:52

velvetmist
Member
Registered: 2019-06-05
Posts: 11

Re: [SOLVED] Issue with ttf-symbola

>Post your Xresources.
I have .Xdefaults instead of .Xresources.

URxvt.reverseVideo:     True
URxvt.font:             xft:inconsolata:pixelsize=16
URxvt*scrollBar:        false

*.foreground:   #0c171b
*.background:   #c9b695
*.cursorColor:  #abc0c5

! black
*.color0:       #222222
*.color8:       #444444

! coral
*.color1:       #885757
*.color9:       #885757

! light cyan
*.color6:       #5c8676
*.color14:      #5c8676

! ochre
*.color3:       #a8772b
*.color11:      #a8772b

! dark blue
*.color4:       #395a61
*.color12:      #395a61

! brown
*.color5:       #65573a
*.color13:      #65573a

! cyan 
*.color2:       #559b81
*.color10:      #559b81

! light brown
*.color7:       #c9b695
*.color15:      #c9b695

PS1='\[\033[00;32m\]\u\[\033[00;33m\]@\[\033[00;32m\]\h\[\033[01;30m\]:\[\033[01;36m\]\w\[\033[01;37m\]$ \[\033[00m\]'

Offline

#7 2019-06-06 01:35:27

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] Issue with ttf-symbola

So, you haven't told urxvt to use the font...

And you don't set your prompt in this file, that is done in your shell file (presumably .bashrc).


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#8 2019-06-07 12:28:42

velvetmist
Member
Registered: 2019-06-05
Posts: 11

Re: [SOLVED] Issue with ttf-symbola

>So, you haven't told urxvt to use the font...
Oh... Now I'm feeling really dumb. Thanks fam, you have been really helpful.
>And you don't set your prompt in this file, that is done in your shell file (presumably .bashrc).
I realized that when i already sent the post. I don't know where that come from tbh cause i also have it in my <i>.bashrc</i> file lol

Offline

Board footer

Powered by FluxBB